<html>
<head>
<title>sbxx.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #000000;}
.s1 { color: #0000ff; font-weight: bold;}
.s2 { color: #000000;}
.s3 { color: #000080; font-weight: bold;}
.s4 { color: #008000; font-weight: bold;}
.s5 { color: #808080; font-style: italic;}
.s6 { color: #000080; font-weight: bold;}
.s7 { color: #0000ff; font-weight: bold;}
.s8 { color: #008000; font-weight: bold;}
.s9 { color: #0000ff;}
.ln { color: #999999; font-weight: normal; font-style: normal; }
</style>
</head>
<body bgcolor="#ffffff">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#c0c0c0" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
sbxx.html</font>
</center></td></tr></table>
<pre><a name="l1"><span class="ln">1    </span></a>&lt;!DOCTYPE <span class="s1">html</span>&gt;
<a name="l2"><span class="ln">2    </span></a>&lt;<span class="s3">html </span><span class="s1">lang=</span><span class="s4">&quot;zh&quot; </span><span class="s1">xmlns:th=</span><span class="s4">&quot;http://www.thymeleaf.org&quot;</span>&gt;
<a name="l3"><span class="ln">3    </span></a>&lt;<span class="s3">head</span>&gt;
<a name="l4"><span class="ln">4    </span></a>    &lt;<span class="s3">th:block </span><span class="s1">th:include=</span><span class="s4">&quot;include :: header('系统管理员操作界面')&quot;</span>/&gt;
<a name="l5"><span class="ln">5    </span></a>    <span class="s5">&lt;!--&lt;th:block th:include=&quot;include :: bootstrap-select-css&quot;/&gt;--&gt;</span>
<a name="l6"><span class="ln">6    </span></a>    &lt;!--&lt;th:block th:include=&quot;include :: jasny-bootstrap-css&quot;/&gt;--&gt;
<a name="l7"><span class="ln">7    </span></a>    &lt;!--&lt;th:block th:include=&quot;include :: datetimepicker-css&quot;/&gt;--&gt;
<a name="l8"><span class="ln">8    </span></a>    &lt;<span class="s3">link </span><span class="s1">th:href=</span><span class="s4">&quot;@{/ruoyi/css/font-awesome.css}&quot; </span><span class="s1">rel=</span><span class="s4">&quot;stylesheet&quot;</span>/&gt;
<a name="l9"><span class="ln">9    </span></a>    &lt;<span class="s3">link </span><span class="s1">th:href=</span><span class="s4">&quot;@{/ruoyi/css/jquery-confirm.min.css}&quot; </span><span class="s1">rel=</span><span class="s4">&quot;stylesheet&quot;</span>/&gt;
<a name="l10"><span class="ln">10   </span></a>&lt;/<span class="s3">head</span>&gt;
<a name="l11"><span class="ln">11   </span></a>&lt;<span class="s3">style </span><span class="s1">type=</span><span class="s4">&quot;text/css&quot;</span>&gt;
<a name="l12"><span class="ln">12   </span></a>    .<span class="s6">table </span>{
<a name="l13"><span class="ln">13   </span></a>        <span class="s7">table-layout</span>: <span class="s8">fixed</span>;
<a name="l14"><span class="ln">14   </span></a>    }
<a name="l15"><span class="ln">15   </span></a>    <span class="s6">#macdz_id </span>{
<a name="l16"><span class="ln">16   </span></a>        <span class="s7">width</span>: <span class="s9">200</span><span class="s8">px</span>;
<a name="l17"><span class="ln">17   </span></a>        <span class="s7">height</span>: <span class="s9">32</span><span class="s8">px</span>;
<a name="l18"><span class="ln">18   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l19"><span class="ln">19   </span></a>        <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l20"><span class="ln">20   </span></a>    }
<a name="l21"><span class="ln">21   </span></a>    <span class="s6">#macdz_id </span>&gt; <span class="s6">input </span>{
<a name="l22"><span class="ln">22   </span></a>        <span class="s7">height</span>: <span class="s9">21</span><span class="s8">px</span>;
<a name="l23"><span class="ln">23   </span></a>        <span class="s7">width</span>: <span class="s9">26.3</span><span class="s8">px</span>;
<a name="l24"><span class="ln">24   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l25"><span class="ln">25   </span></a>        <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l26"><span class="ln">26   </span></a>    }
<a name="l27"><span class="ln">27   </span></a>    <span class="s6">#macdz_id </span>&gt; <span class="s6">input</span>[<span class="s6">readonly</span>] {
<a name="l28"><span class="ln">28   </span></a>        <span class="s7">background-color</span>: <span class="s6">#EEEEEE</span>;
<a name="l29"><span class="ln">29   </span></a>    }
<a name="l30"><span class="ln">30   </span></a>    <span class="s6">#macdz_update </span>{
<a name="l31"><span class="ln">31   </span></a>        <span class="s7">width</span>: <span class="s9">200</span><span class="s8">px</span>;
<a name="l32"><span class="ln">32   </span></a>        <span class="s7">height</span>: <span class="s9">32</span><span class="s8">px</span>;
<a name="l33"><span class="ln">33   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l34"><span class="ln">34   </span></a>        <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l35"><span class="ln">35   </span></a>    }
<a name="l36"><span class="ln">36   </span></a>    <span class="s6">#macdz_update </span>&gt; <span class="s6">input </span>{
<a name="l37"><span class="ln">37   </span></a>        <span class="s7">height</span>: <span class="s9">21</span><span class="s8">px</span>;
<a name="l38"><span class="ln">38   </span></a>        <span class="s7">width</span>: <span class="s9">26.3</span><span class="s8">px</span>;
<a name="l39"><span class="ln">39   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l40"><span class="ln">40   </span></a>        <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l41"><span class="ln">41   </span></a>    }
<a name="l42"><span class="ln">42   </span></a>    <span class="s6">#macdz_update </span>&gt; <span class="s6">input</span>[<span class="s6">readonly</span>] {
<a name="l43"><span class="ln">43   </span></a>        <span class="s7">background-color</span>: <span class="s6">#EEEEEE</span>;
<a name="l44"><span class="ln">44   </span></a>    }
<a name="l45"><span class="ln">45   </span></a>    <span class="s6">#ipdz_id </span>{
<a name="l46"><span class="ln">46   </span></a>        <span class="s7">width</span>: <span class="s9">200</span><span class="s8">px</span>;
<a name="l47"><span class="ln">47   </span></a>        <span class="s7">height</span>: <span class="s9">32</span><span class="s8">px</span>;
<a name="l48"><span class="ln">48   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l49"><span class="ln">49   </span></a>        <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l50"><span class="ln">50   </span></a>    }
<a name="l51"><span class="ln">51   </span></a>
<a name="l52"><span class="ln">52   </span></a>    <span class="s6">#ipdz_id </span>&gt; <span class="s6">input </span>{
<a name="l53"><span class="ln">53   </span></a>        <span class="s7">height</span>: <span class="s9">21</span><span class="s8">px</span>;
<a name="l54"><span class="ln">54   </span></a>        <span class="s7">width</span>: <span class="s9">32.3</span><span class="s8">px</span>;
<a name="l55"><span class="ln">55   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l56"><span class="ln">56   </span></a>        <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l57"><span class="ln">57   </span></a>    }
<a name="l58"><span class="ln">58   </span></a>    <span class="s6">#ipdz_id </span>&gt; <span class="s6">input</span>[<span class="s6">readonly</span>] {
<a name="l59"><span class="ln">59   </span></a>        <span class="s7">background-color</span>: <span class="s6">#EEEEEE</span>;
<a name="l60"><span class="ln">60   </span></a>    }
<a name="l61"><span class="ln">61   </span></a>    <span class="s6">#ipdz_update </span>{
<a name="l62"><span class="ln">62   </span></a>        <span class="s7">width</span>: <span class="s9">200</span><span class="s8">px</span>;
<a name="l63"><span class="ln">63   </span></a>        <span class="s7">height</span>: <span class="s9">32</span><span class="s8">px</span>;
<a name="l64"><span class="ln">64   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l65"><span class="ln">65   </span></a>        <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l66"><span class="ln">66   </span></a>    }
<a name="l67"><span class="ln">67   </span></a>    <span class="s6">#ipdz_update</span>&gt; <span class="s6">input </span>{
<a name="l68"><span class="ln">68   </span></a>        <span class="s7">height</span>: <span class="s9">21</span><span class="s8">px</span>;
<a name="l69"><span class="ln">69   </span></a>        <span class="s7">width</span>: <span class="s9">32.3</span><span class="s8">px</span>;
<a name="l70"><span class="ln">70   </span></a>        <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l71"><span class="ln">71   </span></a>        <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l72"><span class="ln">72   </span></a>    }
<a name="l73"><span class="ln">73   </span></a>    <span class="s6">#ipdz_update </span>&gt; <span class="s6">input</span>[<span class="s6">readonly</span>] {
<a name="l74"><span class="ln">74   </span></a>        <span class="s7">background-color</span>: <span class="s6">#EEEEEE</span>;
<a name="l75"><span class="ln">75   </span></a>    }
<a name="l76"><span class="ln">76   </span></a>    <span class="s6">@media </span><span class="s8">screen </span><span class="s6">and </span>(<span class="s7">max-width</span>: <span class="s9">768</span><span class="s8">px</span>) {
<a name="l77"><span class="ln">77   </span></a>        .<span class="s6">labright </span>{
<a name="l78"><span class="ln">78   </span></a>            <span class="s7">margin</span>: <span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px</span>;
<a name="l79"><span class="ln">79   </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l80"><span class="ln">80   </span></a>        }
<a name="l81"><span class="ln">81   </span></a>
<a name="l82"><span class="ln">82   </span></a>        .<span class="s6">xmdiv</span>{
<a name="l83"><span class="ln">83   </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;<span class="s7">margin-top</span>: -<span class="s9">38</span><span class="s8">px</span>;<span class="s7">margin-right</span>: <span class="s9">85</span><span class="s8">px</span>;
<a name="l84"><span class="ln">84   </span></a>        }
<a name="l85"><span class="ln">85   </span></a>
<a name="l86"><span class="ln">86   </span></a>        .<span class="s6">xsqdxa</span>{
<a name="l87"><span class="ln">87   </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;<span class="s7">margin-top</span>: -<span class="s9">30</span><span class="s8">px</span>;<span class="s7">margin-left</span>: <span class="s9">100</span><span class="s8">px</span>;
<a name="l88"><span class="ln">88   </span></a>        }
<a name="l89"><span class="ln">89   </span></a>        .<span class="s6">gmrqlab </span>{
<a name="l90"><span class="ln">90   </span></a>            <span class="s7">margin</span>: <span class="s9">50</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span>-<span class="s9">80</span><span class="s8">px</span>;
<a name="l91"><span class="ln">91   </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l92"><span class="ln">92   </span></a>        }
<a name="l93"><span class="ln">93   </span></a>        .<span class="s6">gmrqlab2 </span>{
<a name="l94"><span class="ln">94   </span></a>            <span class="s7">margin</span>: <span class="s9">20</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px</span>;
<a name="l95"><span class="ln">95   </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l96"><span class="ln">96   </span></a>        }
<a name="l97"><span class="ln">97   </span></a>        .<span class="s6">lableft </span>{
<a name="l98"><span class="ln">98   </span></a>            <span class="s5">/*font-size: 18px;*/</span>
<a name="l99"><span class="ln">99   </span></a>            <span class="s7">margin</span>: <span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px</span>;
<a name="l100"><span class="ln">100  </span></a>        }
<a name="l101"><span class="ln">101  </span></a>        <span class="s6">#ypdx1lab </span>{
<a name="l102"><span class="ln">102  </span></a>        }
<a name="l103"><span class="ln">103  </span></a>        <span class="s6">#ypdx2lab </span>{
<a name="l104"><span class="ln">104  </span></a>        }
<a name="l105"><span class="ln">105  </span></a>        <span class="s6">#ypdx3lab </span>{
<a name="l106"><span class="ln">106  </span></a>        }
<a name="l107"><span class="ln">107  </span></a>        .<span class="s6">qbdiv </span>{
<a name="l108"><span class="ln">108  </span></a>            <span class="s7">margin-top</span>: <span class="s9">500</span><span class="s8">px</span>;
<a name="l109"><span class="ln">109  </span></a>        }
<a name="l110"><span class="ln">110  </span></a>        .<span class="s6">qmdiv </span>{
<a name="l111"><span class="ln">111  </span></a>        }
<a name="l112"><span class="ln">112  </span></a>        .<span class="s6">ksdiv </span>{
<a name="l113"><span class="ln">113  </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;
<a name="l114"><span class="ln">114  </span></a>        }
<a name="l115"><span class="ln">115  </span></a>        .<span class="s6">wddiv </span>{
<a name="l116"><span class="ln">116  </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;<span class="s7">margin-right</span>: <span class="s9">175</span><span class="s8">px</span>;
<a name="l117"><span class="ln">117  </span></a>        }
<a name="l118"><span class="ln">118  </span></a>        .<span class="s6">lddiv </span>{
<a name="l119"><span class="ln">119  </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;
<a name="l120"><span class="ln">120  </span></a>        }
<a name="l121"><span class="ln">121  </span></a>        .<span class="s6">sblxdiv </span>{
<a name="l122"><span class="ln">122  </span></a>        }
<a name="l123"><span class="ln">123  </span></a>        <span class="s6">#sblxlab </span>{
<a name="l124"><span class="ln">124  </span></a>        }
<a name="l125"><span class="ln">125  </span></a>        .<span class="s6">qbinput </span>{
<a name="l126"><span class="ln">126  </span></a>            <span class="s7">margin</span>: <span class="s9">0</span><span class="s8">px </span><span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px</span>;
<a name="l127"><span class="ln">127  </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l128"><span class="ln">128  </span></a>            <span class="s7">width</span>: <span class="s9">280</span><span class="s8">px</span>;
<a name="l129"><span class="ln">129  </span></a>            <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l130"><span class="ln">130  </span></a>            <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l131"><span class="ln">131  </span></a>            <span class="s7">background-color</span>: <span class="s6">#ffffff</span>
<a name="l132"><span class="ln">132  </span></a>        }
<a name="l133"><span class="ln">133  </span></a>        .<span class="s6">gmrqforinput</span>{
<a name="l134"><span class="ln">134  </span></a>            <span class="s7">float</span>: <span class="s8">right</span>;
<a name="l135"><span class="ln">135  </span></a>            <span class="s7">margin</span>: -<span class="s9">30</span><span class="s8">px </span>-<span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">50</span><span class="s8">px</span>;
<a name="l136"><span class="ln">136  </span></a>        }
<a name="l137"><span class="ln">137  </span></a>        .<span class="s6">txinput </span>{
<a name="l138"><span class="ln">138  </span></a>            <span class="s7">margin</span>: <span class="s9">5</span><span class="s8">px </span>-<span class="s9">10</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">20</span><span class="s8">px</span>;
<a name="l139"><span class="ln">139  </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l140"><span class="ln">140  </span></a>            <span class="s7">width</span>: <span class="s9">30</span><span class="s8">px</span>;
<a name="l141"><span class="ln">141  </span></a>        }
<a name="l142"><span class="ln">142  </span></a>
<a name="l143"><span class="ln">143  </span></a>        <span class="s6">#sblxdiv2 </span>{
<a name="l144"><span class="ln">144  </span></a>        }
<a name="l145"><span class="ln">145  </span></a>        <span class="s6">#scsbbhdiv </span>{
<a name="l146"><span class="ln">146  </span></a>        }
<a name="l147"><span class="ln">147  </span></a>        .<span class="s6">gmrqdiv </span>{
<a name="l148"><span class="ln">148  </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;
<a name="l149"><span class="ln">149  </span></a>            <span class="s7">width</span>: <span class="s9">250</span><span class="s8">px</span>;
<a name="l150"><span class="ln">150  </span></a>        }
<a name="l151"><span class="ln">151  </span></a>        .<span class="s6">ypdxa </span>{
<a name="l152"><span class="ln">152  </span></a>            <span class="s7">margin-top</span>: <span class="s9">10</span><span class="s8">px</span>;
<a name="l153"><span class="ln">153  </span></a>        }
<a name="l154"><span class="ln">154  </span></a>        .<span class="s6">fddiv </span>{
<a name="l155"><span class="ln">155  </span></a>            <span class="s7">margin</span>: <span class="s9">0</span><span class="s8">px auto</span>;
<a name="l156"><span class="ln">156  </span></a>        }
<a name="l157"><span class="ln">157  </span></a>        <span class="s6">body </span>{
<a name="l158"><span class="ln">158  </span></a>            <span class="s5">/*text-align:center;*/</span>
<a name="l159"><span class="ln">159  </span></a>            <span class="s7">margin</span>: <span class="s9">0</span><span class="s8">px auto</span>;
<a name="l160"><span class="ln">160  </span></a>            <span class="s7">font</span>: <span class="s8">normal </span><span class="s9">100</span>% <span class="s6">Helvetica</span>, <span class="s6">Arial</span>, <span class="s8">sans-serif</span>;
<a name="l161"><span class="ln">161  </span></a>        }
<a name="l162"><span class="ln">162  </span></a>        .<span class="s6">xsqdiv</span>{
<a name="l163"><span class="ln">163  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;<span class="s7">float</span>: <span class="s8">right</span>;<span class="s7">margin-top</span>: <span class="s9">10</span><span class="s8">px</span>;
<a name="l164"><span class="ln">164  </span></a>            <span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l165"><span class="ln">165  </span></a>        }
<a name="l166"><span class="ln">166  </span></a>        .<span class="s6">xsqinputk</span>{
<a name="l167"><span class="ln">167  </span></a>            <span class="s7">float</span>: <span class="s8">left</span>;<span class="s7">margin-right</span>: <span class="s9">100</span><span class="s8">px</span>;<span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l168"><span class="ln">168  </span></a>            <span class="s7">width</span>: <span class="s9">70</span>%;
<a name="l169"><span class="ln">169  </span></a>        }
<a name="l170"><span class="ln">170  </span></a>        .<span class="s6">ypinput</span>{
<a name="l171"><span class="ln">171  </span></a>            <span class="s7">margin-top</span>: <span class="s9">10</span><span class="s8">px</span>;
<a name="l172"><span class="ln">172  </span></a>            <span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l173"><span class="ln">173  </span></a>            <span class="s7">width</span>: <span class="s9">70</span>%;
<a name="l174"><span class="ln">174  </span></a>        }
<a name="l175"><span class="ln">175  </span></a>
<a name="l176"><span class="ln">176  </span></a>        .<span class="s6">ypinput2</span>{
<a name="l177"><span class="ln">177  </span></a>            <span class="s7">margin-top</span>: <span class="s9">10</span><span class="s8">px</span>;
<a name="l178"><span class="ln">178  </span></a>            <span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l179"><span class="ln">179  </span></a>            <span class="s7">width</span>: <span class="s9">70</span>%;
<a name="l180"><span class="ln">180  </span></a>        }
<a name="l181"><span class="ln">181  </span></a>        .<span class="s6">ipdzdiv</span>{
<a name="l182"><span class="ln">182  </span></a>            <span class="s7">margin</span>: -<span class="s9">40</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">110</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;
<a name="l183"><span class="ln">183  </span></a>        }
<a name="l184"><span class="ln">184  </span></a>        .<span class="s6">macdzdiv</span>{
<a name="l185"><span class="ln">185  </span></a>            <span class="s7">margin</span>: -<span class="s9">35</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">0</span><span class="s8">px </span><span class="s9">110</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">0</span><span class="s8">px</span>;<span class="s7">padding-right</span>: <span class="s9">0</span><span class="s8">px</span>
<a name="l186"><span class="ln">186  </span></a>        }
<a name="l187"><span class="ln">187  </span></a>        .<span class="s6">ypdiv</span>{
<a name="l188"><span class="ln">188  </span></a>            <span class="s7">margin-left</span>:<span class="s9">90</span><span class="s8">px</span>;
<a name="l189"><span class="ln">189  </span></a>        }
<a name="l190"><span class="ln">190  </span></a>
<a name="l191"><span class="ln">191  </span></a>        .<span class="s6">ypmac </span>{
<a name="l192"><span class="ln">192  </span></a>            <span class="s7">margin-top</span>: <span class="s9">30</span><span class="s8">px</span>;
<a name="l193"><span class="ln">193  </span></a>        }
<a name="l194"><span class="ln">194  </span></a>    }
<a name="l195"><span class="ln">195  </span></a>
<a name="l196"><span class="ln">196  </span></a>    <span class="s5">/**电脑屏幕下显示***/</span>
<a name="l197"><span class="ln">197  </span></a>    <span class="s6">@media </span><span class="s8">screen </span><span class="s6">and </span>(<span class="s7">min-width</span>: <span class="s9">768</span><span class="s8">px</span>) {
<a name="l198"><span class="ln">198  </span></a>        .<span class="s6">ypinput</span>{
<a name="l199"><span class="ln">199  </span></a>            <span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l200"><span class="ln">200  </span></a>        }
<a name="l201"><span class="ln">201  </span></a>        .<span class="s6">ypdxadiv</span>{
<a name="l202"><span class="ln">202  </span></a>            <span class="s7">margin-left</span>:-<span class="s9">20</span><span class="s8">px</span>
<a name="l203"><span class="ln">203  </span></a>        }
<a name="l204"><span class="ln">204  </span></a>        .<span class="s6">ipdzdiv</span>{
<a name="l205"><span class="ln">205  </span></a>            <span class="s7">margin-left</span>:-<span class="s9">5</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;
<a name="l206"><span class="ln">206  </span></a>        }
<a name="l207"><span class="ln">207  </span></a>        .<span class="s6">macdzdiv</span>{
<a name="l208"><span class="ln">208  </span></a>            <span class="s7">margin-left</span>:-<span class="s9">5</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">0</span><span class="s8">px</span>;<span class="s7">padding-right</span>: <span class="s9">0</span><span class="s8">px</span>
<a name="l209"><span class="ln">209  </span></a>        }
<a name="l210"><span class="ln">210  </span></a>        .<span class="s6">ypdiv</span>{
<a name="l211"><span class="ln">211  </span></a>            <span class="s7">margin-left</span>:-<span class="s9">20</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">150</span><span class="s8">px</span>;
<a name="l212"><span class="ln">212  </span></a>        }
<a name="l213"><span class="ln">213  </span></a>        .<span class="s6">labright </span>{
<a name="l214"><span class="ln">214  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">80</span><span class="s8">px</span>
<a name="l215"><span class="ln">215  </span></a>        }
<a name="l216"><span class="ln">216  </span></a>
<a name="l217"><span class="ln">217  </span></a>        .<span class="s6">gmrqlab </span>{
<a name="l218"><span class="ln">218  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">80</span><span class="s8">px</span>;
<a name="l219"><span class="ln">219  </span></a>        }
<a name="l220"><span class="ln">220  </span></a>
<a name="l221"><span class="ln">221  </span></a>        .<span class="s6">gmrqlab2 </span>{
<a name="l222"><span class="ln">222  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">80</span><span class="s8">px</span>;
<a name="l223"><span class="ln">223  </span></a>        }
<a name="l224"><span class="ln">224  </span></a>
<a name="l225"><span class="ln">225  </span></a>        .<span class="s6">lableft </span>{
<a name="l226"><span class="ln">226  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">10</span><span class="s8">px</span>
<a name="l227"><span class="ln">227  </span></a>        }
<a name="l228"><span class="ln">228  </span></a>        .<span class="s6">txinput </span>{
<a name="l229"><span class="ln">229  </span></a>            <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l230"><span class="ln">230  </span></a>            <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l231"><span class="ln">231  </span></a>            <span class="s7">background-color</span>: <span class="s6">#ffffff</span>
<a name="l232"><span class="ln">232  </span></a>        }
<a name="l233"><span class="ln">233  </span></a>        <span class="s6">#ypdx1lab </span>{
<a name="l234"><span class="ln">234  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">80</span><span class="s8">px</span>
<a name="l235"><span class="ln">235  </span></a>        }
<a name="l236"><span class="ln">236  </span></a>
<a name="l237"><span class="ln">237  </span></a>        <span class="s6">#ypdx3lab </span>{
<a name="l238"><span class="ln">238  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">80</span><span class="s8">px</span>
<a name="l239"><span class="ln">239  </span></a>        }
<a name="l240"><span class="ln">240  </span></a>
<a name="l241"><span class="ln">241  </span></a>        .<span class="s6">qbdiv </span>{
<a name="l242"><span class="ln">242  </span></a>            <span class="s7">margin-top</span>: -<span class="s9">10</span><span class="s8">px</span>;
<a name="l243"><span class="ln">243  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">65</span><span class="s8">px</span>
<a name="l244"><span class="ln">244  </span></a>        }
<a name="l245"><span class="ln">245  </span></a>        .<span class="s6">qmdiv </span>{
<a name="l246"><span class="ln">246  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">65</span><span class="s8">px</span>;
<a name="l247"><span class="ln">247  </span></a>            <span class="s7">margin-top</span>: -<span class="s9">10</span><span class="s8">px</span>
<a name="l248"><span class="ln">248  </span></a>        }
<a name="l249"><span class="ln">249  </span></a>        .<span class="s6">ksdiv </span>{
<a name="l250"><span class="ln">250  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;
<a name="l251"><span class="ln">251  </span></a>            <span class="s7">width</span>: <span class="s9">220</span><span class="s8">px</span>
<a name="l252"><span class="ln">252  </span></a>        }
<a name="l253"><span class="ln">253  </span></a>        .<span class="s6">qbinput </span>{
<a name="l254"><span class="ln">254  </span></a>            <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l255"><span class="ln">255  </span></a>            <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l256"><span class="ln">256  </span></a>            <span class="s7">background-color</span>: <span class="s6">#ffffff</span>
<a name="l257"><span class="ln">257  </span></a>        }
<a name="l258"><span class="ln">258  </span></a>        .<span class="s6">gmrqforinput</span>{
<a name="l259"><span class="ln">259  </span></a>            <span class="s7">border</span>: <span class="s8">none</span>;
<a name="l260"><span class="ln">260  </span></a>            <span class="s7">border-bottom</span>: <span class="s9">1</span><span class="s8">px solid </span><span class="s6">#e5e6e7</span>;
<a name="l261"><span class="ln">261  </span></a>            <span class="s7">background-color</span>: <span class="s6">#ffffff</span>
<a name="l262"><span class="ln">262  </span></a>        }
<a name="l263"><span class="ln">263  </span></a>        .<span class="s6">wddiv </span>{
<a name="l264"><span class="ln">264  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;
<a name="l265"><span class="ln">265  </span></a>            <span class="s7">width</span>: <span class="s9">145</span><span class="s8">px</span>
<a name="l266"><span class="ln">266  </span></a>        }
<a name="l267"><span class="ln">267  </span></a>        .<span class="s6">lddiv </span>{
<a name="l268"><span class="ln">268  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">35</span><span class="s8">px</span>;
<a name="l269"><span class="ln">269  </span></a>            <span class="s7">width</span>: <span class="s9">80</span><span class="s8">px</span>
<a name="l270"><span class="ln">270  </span></a>        }
<a name="l271"><span class="ln">271  </span></a>        .<span class="s6">sblxdiv </span>{
<a name="l272"><span class="ln">272  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;
<a name="l273"><span class="ln">273  </span></a>            <span class="s7">width</span>: <span class="s9">160</span><span class="s8">px</span>
<a name="l274"><span class="ln">274  </span></a>        }
<a name="l275"><span class="ln">275  </span></a>        <span class="s6">#sblxlab </span>{
<a name="l276"><span class="ln">276  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">30</span><span class="s8">px</span>
<a name="l277"><span class="ln">277  </span></a>        }
<a name="l278"><span class="ln">278  </span></a>        <span class="s6">#sblxdiv2 </span>{
<a name="l279"><span class="ln">279  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;
<a name="l280"><span class="ln">280  </span></a>            <span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>
<a name="l281"><span class="ln">281  </span></a>        }
<a name="l282"><span class="ln">282  </span></a>        <span class="s6">#scsbbhdiv </span>{
<a name="l283"><span class="ln">283  </span></a>            <span class="s7">margin-left</span>: <span class="s9">120</span><span class="s8">px</span>;
<a name="l284"><span class="ln">284  </span></a>            <span class="s7">margin-top</span>: -<span class="s9">30</span><span class="s8">px</span>;
<a name="l285"><span class="ln">285  </span></a>            <span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;
<a name="l286"><span class="ln">286  </span></a>        }
<a name="l287"><span class="ln">287  </span></a>        .<span class="s6">gmrqdiv </span>{
<a name="l288"><span class="ln">288  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">20</span><span class="s8">px</span>;
<a name="l289"><span class="ln">289  </span></a>            <span class="s7">width</span>: <span class="s9">183</span><span class="s8">px</span>
<a name="l290"><span class="ln">290  </span></a>        }
<a name="l291"><span class="ln">291  </span></a>        .<span class="s6">ypdxa </span>{
<a name="l292"><span class="ln">292  </span></a>            <span class="s7">width</span>: <span class="s9">60</span><span class="s8">px</span>;
<a name="l293"><span class="ln">293  </span></a>            <span class="s7">color</span>: <span class="s6">#ffffff</span>;
<a name="l294"><span class="ln">294  </span></a>            <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l295"><span class="ln">295  </span></a>            <span class="s7">padding-left</span>: <span class="s9">8</span><span class="s8">px</span>;
<a name="l296"><span class="ln">296  </span></a>            <span class="s7">display</span>: <span class="s8">inline-block</span>
<a name="l297"><span class="ln">297  </span></a>        }
<a name="l298"><span class="ln">298  </span></a>        .<span class="s6">xsqdiv </span>{
<a name="l299"><span class="ln">299  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">10</span><span class="s8">px</span>;
<a name="l300"><span class="ln">300  </span></a>            <span class="s7">width</span>: <span class="s9">130</span><span class="s8">px</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;
<a name="l301"><span class="ln">301  </span></a>        }
<a name="l302"><span class="ln">302  </span></a>        .<span class="s6">ypmac </span>{
<a name="l303"><span class="ln">303  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">65</span><span class="s8">px</span>
<a name="l304"><span class="ln">304  </span></a>        }
<a name="l305"><span class="ln">305  </span></a>        <span class="s6">#xsqcc_btn </span>{
<a name="l306"><span class="ln">306  </span></a>            <span class="s7">width</span>: <span class="s9">60</span><span class="s8">px</span>;
<a name="l307"><span class="ln">307  </span></a>            <span class="s7">margin-left</span>: -<span class="s9">10</span><span class="s8">px</span>;
<a name="l308"><span class="ln">308  </span></a>            <span class="s7">color</span>: <span class="s6">#ffffff</span>;
<a name="l309"><span class="ln">309  </span></a>            <span class="s7">text-align</span>: <span class="s8">center</span>;
<a name="l310"><span class="ln">310  </span></a>            <span class="s7">padding-left</span>: <span class="s9">8</span><span class="s8">px</span>;
<a name="l311"><span class="ln">311  </span></a>            <span class="s7">display</span>: <span class="s8">inline-block</span>;
<a name="l312"><span class="ln">312  </span></a>        }
<a name="l313"><span class="ln">313  </span></a>        <span class="s6">body </span>{
<a name="l314"><span class="ln">314  </span></a>            <span class="s5">/*text-align:center;*/</span>
<a name="l315"><span class="ln">315  </span></a>            <span class="s7">margin</span>: <span class="s9">0</span><span class="s8">px auto</span>;
<a name="l316"><span class="ln">316  </span></a>        }
<a name="l317"><span class="ln">317  </span></a>    }
<a name="l318"><span class="ln">318  </span></a>&lt;/<span class="s3">style</span>&gt;
<a name="l319"><span class="ln">319  </span></a>&lt;<span class="s3">body </span><span class="s1">class=</span><span class="s4">&quot;gray-bg&quot;</span>&gt;
<a name="l320"><span class="ln">320  </span></a><span class="s5">&lt;!--生成二维码开始--&gt;</span>
<a name="l321"><span class="ln">321  </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s4">&quot;empAddModal&quot; </span><span class="s1">tabindex=</span><span class="s4">&quot;-1&quot; </span><span class="s1">role=</span><span class="s4">&quot;dialog&quot; </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>
<a name="l322"><span class="ln">322  </span></a>     <span class="s1">data-keyboard=</span><span class="s4">&quot;false&quot;</span>&gt;
<a name="l323"><span class="ln">323  </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-dialog modal-lg&quot;</span>&gt;
<a name="l324"><span class="ln">324  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-content&quot;</span>&gt;
<a name="l325"><span class="ln">325  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-header&quot;</span>&gt;
<a name="l326"><span class="ln">326  </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;&lt;<span class="s3">span </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s3">span</span>&gt;&lt;<span class="s3">span</span>
<a name="l327"><span class="ln">327  </span></a>                        <span class="s1">class=</span><span class="s4">&quot;sr-only&quot;</span>&gt;Close&lt;/<span class="s3">span</span>&gt;
<a name="l328"><span class="ln">328  </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l329"><span class="ln">329  </span></a>                &lt;<span class="s3">h4 </span><span class="s1">class=</span><span class="s4">&quot;modal-title&quot;</span>&gt;生成设备二维码&lt;/<span class="s3">h4</span>&gt;
<a name="l330"><span class="ln">330  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l331"><span class="ln">331  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-body&quot;</span>&gt;
<a name="l332"><span class="ln">332  </span></a>                &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;form-user-add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-horizontal&quot;</span>&gt;
<a name="l333"><span class="ln">333  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l334"><span class="ln">334  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12&quot;</span>&gt;
<a name="l335"><span class="ln">335  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l336"><span class="ln">336  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;went&quot; </span><span class="s1">disabled id=</span><span class="s4">&quot;text&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l337"><span class="ln">337  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l338"><span class="ln">338  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l339"><span class="ln">339  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l340"><span class="ln">340  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l341"><span class="ln">341  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12&quot;</span>&gt;
<a name="l342"><span class="ln">342  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l343"><span class="ln">343  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;ibox-content no-padding&quot;</span>&gt;
<a name="l344"><span class="ln">344  </span></a>                                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;edittosummernote&quot; </span><span class="s1">id=</span><span class="s4">&quot;qrcode&quot;</span>
<a name="l345"><span class="ln">345  </span></a>                                         <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>:<span class="s9">100</span><span class="s8">px</span>; <span class="s7">height</span>:<span class="s9">100</span><span class="s8">px</span>; <span class="s7">margin-top</span>:<span class="s9">15</span><span class="s8">px</span>;<span class="s4">&quot;</span>&gt;
<a name="l346"><span class="ln">346  </span></a>                                    &lt;/<span class="s3">div</span>&gt;
<a name="l347"><span class="ln">347  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;qrcode&quot; </span><span class="s1">id=</span><span class="s4">&quot;qrcode_update_input_15&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot;</span>&gt;
<a name="l348"><span class="ln">348  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l349"><span class="ln">349  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l350"><span class="ln">350  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l351"><span class="ln">351  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l352"><span class="ln">352  </span></a>                &lt;/<span class="s3">form</span>&gt;
<a name="l353"><span class="ln">353  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l354"><span class="ln">354  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-footer&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-top</span>: -<span class="s9">30</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l355"><span class="ln">355  </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-top</span>: -<span class="s9">5</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;关闭&lt;/<span class="s3">button</span>&gt;
<a name="l356"><span class="ln">356  </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">id=</span><span class="s4">&quot;emp_save_btn&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>updatespkfk(<span class="s6">this</span>)<span class="s4">&quot;</span>
<a name="l357"><span class="ln">357  </span></a>                        <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-top</span>: -<span class="s9">5</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;保存
<a name="l358"><span class="ln">358  </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l359"><span class="ln">359  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l360"><span class="ln">360  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l361"><span class="ln">361  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l362"><span class="ln">362  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l363"><span class="ln">363  </span></a><span class="s5">&lt;!--生成二维码结束--&gt;</span>
<a name="l364"><span class="ln">364  </span></a>
<a name="l365"><span class="ln">365  </span></a>&lt;!--修改的模态框开始--&gt;
<a name="l366"><span class="ln">366  </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbupdateModal&quot; </span><span class="s1">tabindex=</span><span class="s4">&quot;-1&quot; </span><span class="s1">role=</span><span class="s4">&quot;dialog&quot; </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>
<a name="l367"><span class="ln">367  </span></a>     <span class="s1">data-keyboard=</span><span class="s4">&quot;false&quot;</span>&gt;
<a name="l368"><span class="ln">368  </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-dialog modal-lg&quot;</span>&gt;
<a name="l369"><span class="ln">369  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-content&quot;</span>&gt;
<a name="l370"><span class="ln">370  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-header&quot;</span>&gt;
<a name="l371"><span class="ln">371  </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;&lt;<span class="s3">span </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s3">span</span>&gt;&lt;<span class="s3">span</span>
<a name="l372"><span class="ln">372  </span></a>                        <span class="s1">class=</span><span class="s4">&quot;sr-only&quot;</span>&gt;Close&lt;/<span class="s3">span</span>&gt;
<a name="l373"><span class="ln">373  </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l374"><span class="ln">374  </span></a>                &lt;<span class="s3">h1 </span><span class="s1">class=</span><span class="s4">&quot;modal-title&quot;</span>&gt;&lt;<span class="s3">strong</span>&gt;修改设备&lt;/<span class="s3">strong</span>&gt;&lt;/<span class="s3">h1</span>&gt;
<a name="l375"><span class="ln">375  </span></a>                &lt;<span class="s3">small </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">color</span>: <span class="s8">red</span><span class="s4">&quot;</span>&gt;请按照原设备信息格式进行更正&lt;/<span class="s3">small</span>&gt;
<a name="l376"><span class="ln">376  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l377"><span class="ln">377  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-body&quot;</span>&gt;
<a name="l378"><span class="ln">378  </span></a>                &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;form-sb-update&quot; </span><span class="s1">class=</span><span class="s4">&quot;formsbxg form-horizontal&quot;</span>&gt;
<a name="l379"><span class="ln">379  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qbdiv&quot;</span>&gt;
<a name="l380"><span class="ln">380  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l381"><span class="ln">381  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;公司名称&lt;/<span class="s3">label</span>&gt;
<a name="l382"><span class="ln">382  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l383"><span class="ln">383  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">id=</span><span class="s4">&quot;gsid_update&quot;</span>
<a name="l384"><span class="ln">384  </span></a>                                       <span class="s1">name=</span><span class="s4">&quot;gsid&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#ffffff</span><span class="s4">&quot;</span>&gt;
<a name="l385"><span class="ln">385  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l386"><span class="ln">386  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;设备名称&lt;/<span class="s3">label</span>&gt;
<a name="l387"><span class="ln">387  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l388"><span class="ln">388  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;sbmc&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbmc_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l389"><span class="ln">389  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#ffffff</span><span class="s4">&quot;</span>&gt;
<a name="l390"><span class="ln">390  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l391"><span class="ln">391  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;设备编号&lt;/<span class="s3">label</span>&gt;
<a name="l392"><span class="ln">392  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l393"><span class="ln">393  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbbh_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l394"><span class="ln">394  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#ffffff</span><span class="s4">&quot;</span>&gt;
<a name="l395"><span class="ln">395  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l396"><span class="ln">396  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot;&gt;&lt;img src=&quot;/img/700.gif&quot; style=&quot;margin-left: -25px;width: 200%&quot;&gt;&lt;/div&gt;--&gt;</span>
<a name="l397"><span class="ln">397  </span></a>
<a name="l398"><span class="ln">398  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l399"><span class="ln">399  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l400"><span class="ln">400  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l401"><span class="ln">401  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l402"><span class="ln">402  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;品牌型号&lt;/<span class="s3">label</span>&gt;
<a name="l403"><span class="ln">403  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l404"><span class="ln">404  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;guige&quot; </span><span class="s1">id=</span><span class="s4">&quot;guige_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l405"><span class="ln">405  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l406"><span class="ln">406  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;生产厂家&lt;/<span class="s3">label</span>&gt;
<a name="l407"><span class="ln">407  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l408"><span class="ln">408  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shccj&quot; </span><span class="s1">id=</span><span class="s4">&quot;shccj_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l409"><span class="ln">409  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l410"><span class="ln">410  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;购买日期&lt;/<span class="s3">label</span>&gt;
<a name="l411"><span class="ln">411  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 input-group date gmrqdiv&quot;</span>&gt;
<a name="l412"><span class="ln">412  </span></a>                                &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;input-group-addon qbinput&quot;</span>&gt;&lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-calendar&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l413"><span class="ln">413  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;gmrq&quot; </span><span class="s1">id=</span><span class="s4">&quot;gmrq_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l414"><span class="ln">414  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;<span class="s4">&quot;</span>&gt;
<a name="l415"><span class="ln">415  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l416"><span class="ln">416  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l417"><span class="ln">417  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l418"><span class="ln">418  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l419"><span class="ln">419  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l420"><span class="ln">420  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;主板型号&lt;/<span class="s3">label</span>&gt;
<a name="l421"><span class="ln">421  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l422"><span class="ln">422  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;zbxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;zbxh_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l423"><span class="ln">423  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l424"><span class="ln">424  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;CPU型号&lt;/<span class="s3">label</span>&gt;
<a name="l425"><span class="ln">425  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l426"><span class="ln">426  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;cpuxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;cpuxh_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l427"><span class="ln">427  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l428"><span class="ln">428  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;显<span class="s7">&amp;nbsp;&amp;nbsp;</span>示<span class="s7">&amp;nbsp;&amp;nbsp;</span>器&lt;/<span class="s3">label</span>&gt;
<a name="l429"><span class="ln">429  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot; style=&quot;margin-left:-20px;width: 220px&quot;&gt;--&gt;</span>
<a name="l430"><span class="ln">430  </span></a>                            &lt;!--&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqppcc_id&quot; class=&quot;form-control&quot; type=&quot;text&quot;--&gt;
<a name="l431"><span class="ln">431  </span></a>                            &lt;!--placeholder=&quot;请输入显示器品牌与尺寸&quot; style=&quot;border: none;border-bottom: 1px solid #e5e6e7;&quot;&gt;--&gt;
<a name="l432"><span class="ln">432  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l433"><span class="ln">433  </span></a>
<a name="l434"><span class="ln">434  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l435"><span class="ln">435  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l436"><span class="ln">436  </span></a>                                    <span class="s5">&lt;!--下拉框输入选择--&gt;</span>
<a name="l437"><span class="ln">437  </span></a>                                    &lt;!--&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqpp_id&quot; class=&quot;form-control&quot; list=&quot;browsersforxsq&quot;--&gt;
<a name="l438"><span class="ln">438  </span></a>                                    &lt;!--placeholder=&quot;品牌助记码&quot;--&gt;
<a name="l439"><span class="ln">439  </span></a>                                    &lt;!--style=&quot;border: none;border-bottom: 1px solid #e5e6e7;margin-left:-35px;width: 112px&quot;&gt;--&gt;
<a name="l440"><span class="ln">440  </span></a>                                    &lt;!--&lt;datalist id=&quot;browsersforxsq&quot;&gt;&lt;/datalist&gt;--&gt;
<a name="l441"><span class="ln">441  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;xsqppcc&quot; </span><span class="s1">id=</span><span class="s4">&quot;xsqppcc_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot;</span>
<a name="l442"><span class="ln">442  </span></a>                                           <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;<span class="s4">&quot;</span>&gt;
<a name="l443"><span class="ln">443  </span></a>                                    &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;help-block&quot;</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l444"><span class="ln">444  </span></a>
<a name="l445"><span class="ln">445  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l446"><span class="ln">446  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l447"><span class="ln">447  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot;&gt;--&gt;</span>
<a name="l448"><span class="ln">448  </span></a>                            &lt;!--&lt;div class=&quot;input-group&quot;&gt;--&gt;
<a name="l449"><span class="ln">449  </span></a>                            &lt;!--&amp;lt;!&amp;ndash;&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqcc_id&quot; class=&quot;form-control&quot; placeholder=&quot;尺寸&quot;&amp;ndash;&amp;gt;--&gt;
<a name="l450"><span class="ln">450  </span></a>                            &lt;!--&amp;lt;!&amp;ndash;style=&quot;border: none;border-bottom: 1px solid #e5e6e7;padding-right: 3px;padding-left: 3px;&quot;&gt;&amp;ndash;&amp;gt;--&gt;
<a name="l451"><span class="ln">451  </span></a>                            &lt;!--&lt;a class=&quot;btn btn-rounded btn-primary btn-sm&quot; id=&quot;xsqcc_update_btn&quot;--&gt;
<a name="l452"><span class="ln">452  </span></a>                            &lt;!--style=&quot;width: 60px; margin-left: -20px; color: #ffffff; text-align: center;padding-left: 8px; display:inline-block;&quot;&gt;显示器&lt;/a&gt;--&gt;
<a name="l453"><span class="ln">453  </span></a>                            &lt;!--&lt;span class=&quot;help-block&quot;&gt;&lt;/span&gt;--&gt;
<a name="l454"><span class="ln">454  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l455"><span class="ln">455  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l456"><span class="ln">456  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l457"><span class="ln">457  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l458"><span class="ln">458  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l459"><span class="ln">459  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l460"><span class="ln">460  </span></a>
<a name="l461"><span class="ln">461  </span></a>
<a name="l462"><span class="ln">462  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;显卡型号&lt;/<span class="s3">label</span>&gt;
<a name="l463"><span class="ln">463  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l464"><span class="ln">464  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;xkxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;xkxh_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l465"><span class="ln">465  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l466"><span class="ln">466  </span></a>
<a name="l467"><span class="ln">467  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;内存大小&lt;/<span class="s3">label</span>&gt;
<a name="l468"><span class="ln">468  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l469"><span class="ln">469  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ncggdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ncggdx_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l470"><span class="ln">470  </span></a>                                       <span class="s1">onkeyup=</span><span class="s4">&quot;</span><span class="s6">if</span>(<span class="s6">this</span>.value.length==<span class="s9">1</span>){<span class="s6">this</span>.value=<span class="s6">this</span>.value.replace(<span class="s9">/[^1-9]/g</span>,<span class="s8">''</span>)}<span class="s6">else</span>{<span class="s6">this</span>.value=<span class="s6">this</span>.value.replace(<span class="s9">/\D/g</span>,<span class="s8">''</span>)}<span class="s4">&quot;</span>
<a name="l471"><span class="ln">471  </span></a>                                       <span class="s1">onafterpaste=</span><span class="s4">&quot;if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}&quot;</span>&gt;
<a name="l472"><span class="ln">472  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l473"><span class="ln">473  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label ypmac&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx1lab&quot;</span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l474"><span class="ln">474  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l475"><span class="ln">475  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_update_1&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l476"><span class="ln">476  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l477"><span class="ln">477  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot; style=&quot;margin-left:-20px&quot;&gt;--&gt;</span>
<a name="l478"><span class="ln">478  </span></a>                            &lt;!--&lt;a class=&quot;btn btn-primary btn-rounded btn-sm&quot; id=&quot;ypdx_update_btn_1&quot;--&gt;
<a name="l479"><span class="ln">479  </span></a>                            &lt;!--style=&quot;width: 60px; color: #ffffff; text-align: center;padding-left: 8px; display:inline-block&quot;&gt;硬盘一&lt;/a&gt;--&gt;
<a name="l480"><span class="ln">480  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l481"><span class="ln">481  </span></a>
<a name="l482"><span class="ln">482  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l483"><span class="ln">483  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l484"><span class="ln">484  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l485"><span class="ln">485  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l486"><span class="ln">486  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;IP<span class="s7">&amp;nbsp;&amp;nbsp;</span>地<span class="s7">&amp;nbsp;&amp;nbsp;</span>址&lt;/<span class="s3">label</span>&gt;
<a name="l487"><span class="ln">487  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1 ksdiv&quot;&gt;--&gt;</span>
<a name="l488"><span class="ln">488  </span></a>                            &lt;!--&lt;input name=&quot;ipdz&quot; id=&quot;ipdz_update&quot; class=&quot;form-control qbinput&quot; type=&quot;text&quot;--&gt;
<a name="l489"><span class="ln">489  </span></a>                            &lt;!--style=&quot;width: 190px&quot;&gt;--&gt;
<a name="l490"><span class="ln">490  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l491"><span class="ln">491  </span></a>
<a name="l492"><span class="ln">492  </span></a>
<a name="l493"><span class="ln">493  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz_update&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-left</span>:-<span class="s9">5</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l494"><span class="ln">494  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz1_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip1&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l495"><span class="ln">495  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz2_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip2&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l496"><span class="ln">496  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz3_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip3&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l497"><span class="ln">497  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz4_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip4&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;
<a name="l498"><span class="ln">498  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l499"><span class="ln">499  </span></a>                            &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">name=</span><span class="s4">&quot;ipdz&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipupdate&quot;</span>&gt;
<a name="l500"><span class="ln">500  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label ypmac&quot;</span>&gt;MAC地址&lt;/<span class="s3">label</span>&gt;
<a name="l501"><span class="ln">501  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1&quot; </span><span class="s1">id=</span><span class="s4">&quot;macdz_update&quot;</span>
<a name="l502"><span class="ln">502  </span></a>                                 <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-left</span>:-<span class="s9">5</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">190</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">0</span><span class="s8">px</span>;<span class="s7">padding-right</span>: <span class="s9">0</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l503"><span class="ln">503  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac1update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l504"><span class="ln">504  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac2update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l505"><span class="ln">505  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac3update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l506"><span class="ln">506  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac4update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l507"><span class="ln">507  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac5update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l508"><span class="ln">508  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac6update&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l509"><span class="ln">509  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l510"><span class="ln">510  </span></a>                            &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">name=</span><span class="s4">&quot;macdz&quot; </span><span class="s1">id=</span><span class="s4">&quot;macupdate&quot;</span>&gt;
<a name="l511"><span class="ln">511  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label ypmac&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx2lab&quot;</span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l512"><span class="ln">512  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l513"><span class="ln">513  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_update_2&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l514"><span class="ln">514  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l515"><span class="ln">515  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l516"><span class="ln">516  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l517"><span class="ln">517  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l518"><span class="ln">518  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l519"><span class="ln">519  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;使用部门&lt;/<span class="s3">label</span>&gt;
<a name="l520"><span class="ln">520  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 wddiv&quot;</span>&gt;
<a name="l521"><span class="ln">521  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l522"><span class="ln">522  </span></a>                                    &lt;<span class="s3">select </span><span class="s1">name=</span><span class="s4">&quot;bm&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control m-b qbinput&quot; </span><span class="s1">id=</span><span class="s4">&quot;bmid_update&quot;</span>&gt;&lt;/<span class="s3">select</span>&gt;
<a name="l523"><span class="ln">523  </span></a>                                    <span class="s5">&lt;!--&lt;select name=&quot;bm&quot; class=&quot;form-control&quot; id=&quot;selectbm&quot;&gt;--&gt;</span>
<a name="l524"><span class="ln">524  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l525"><span class="ln">525  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l526"><span class="ln">526  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1&quot;</span>&gt;
<a name="l527"><span class="ln">527  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l528"><span class="ln">528  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shiyr&quot; </span><span class="s1">id=</span><span class="s4">&quot;shiyr_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control lddiv qbinput&quot;</span>
<a name="l529"><span class="ln">529  </span></a>                                           <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">80</span><span class="s8">px</span><span class="s4">&quot;</span>
<a name="l530"><span class="ln">530  </span></a>                                           <span class="s1">list=</span><span class="s4">&quot;browsers_update&quot;</span>&gt;
<a name="l531"><span class="ln">531  </span></a>                                    &lt;<span class="s3">datalist </span><span class="s1">id=</span><span class="s4">&quot;browsers_update&quot;</span>&gt;&lt;/<span class="s3">datalist</span>&gt;
<a name="l532"><span class="ln">532  </span></a>                                    &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;help-block&quot;</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l533"><span class="ln">533  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l534"><span class="ln">534  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l535"><span class="ln">535  </span></a>
<a name="l536"><span class="ln">536  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;备<span class="s7">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</span>注&lt;/<span class="s3">label</span>&gt;
<a name="l537"><span class="ln">537  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-10 ksdiv&quot;</span>&gt;
<a name="l538"><span class="ln">538  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;beiz&quot; </span><span class="s1">id=</span><span class="s4">&quot;beiz_update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l539"><span class="ln">539  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l540"><span class="ln">540  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx3lab&quot;</span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l541"><span class="ln">541  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l542"><span class="ln">542  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_update_3&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l543"><span class="ln">543  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l544"><span class="ln">544  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot; style=&quot;margin-left:-20px&quot;&gt;--&gt;</span>
<a name="l545"><span class="ln">545  </span></a>                            &lt;!--&lt;a class=&quot;btn btn-rounded btn-primary btn-sm&quot; id=&quot;ypdx_update_btn_3&quot;--&gt;
<a name="l546"><span class="ln">546  </span></a>                            &lt;!--style=&quot;width: 60px; color: #ffffff; text-align: center;padding-left: 8px; display:inline-block&quot;&gt;硬盘三&lt;/a&gt;--&gt;
<a name="l547"><span class="ln">547  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l548"><span class="ln">548  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l549"><span class="ln">549  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l550"><span class="ln">550  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l551"><span class="ln">551  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l552"><span class="ln">552  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-footer&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">height</span>:<span class="s9">0</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l553"><span class="ln">553  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;关闭&lt;/<span class="s3">button</span>&gt;
<a name="l554"><span class="ln">554  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">id=</span><span class="s4">&quot;sb_update_btn&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>updatesb()<span class="s4">&quot;</span>&gt;保存
<a name="l555"><span class="ln">555  </span></a>                                &lt;/<span class="s3">button</span>&gt;
<a name="l556"><span class="ln">556  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l557"><span class="ln">557  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l558"><span class="ln">558  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l559"><span class="ln">559  </span></a>                &lt;/<span class="s3">form</span>&gt;
<a name="l560"><span class="ln">560  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l561"><span class="ln">561  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l562"><span class="ln">562  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l563"><span class="ln">563  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l564"><span class="ln">564  </span></a><span class="s5">&lt;!--修改模态框结束--&gt;</span>
<a name="l565"><span class="ln">565  </span></a>
<a name="l566"><span class="ln">566  </span></a>&lt;!--添加模态框开始--&gt;
<a name="l567"><span class="ln">567  </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbAddModal&quot; </span><span class="s1">tabindex=</span><span class="s4">&quot;-1&quot; </span><span class="s1">role=</span><span class="s4">&quot;dialog&quot; </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>
<a name="l568"><span class="ln">568  </span></a>     <span class="s1">data-keyboard=</span><span class="s4">&quot;false&quot; </span><span class="s1">onkeydown=</span><span class="s4">&quot;</span>savesbenter()<span class="s4">&quot;</span>&gt;
<a name="l569"><span class="ln">569  </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-dialog modal-lg&quot;</span>&gt;
<a name="l570"><span class="ln">570  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-content&quot;</span>&gt;
<a name="l571"><span class="ln">571  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-header&quot;</span>&gt;
<a name="l572"><span class="ln">572  </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;&lt;<span class="s3">span </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s3">span</span>&gt;&lt;<span class="s3">span</span>
<a name="l573"><span class="ln">573  </span></a>                        <span class="s1">class=</span><span class="s4">&quot;sr-only&quot;</span>&gt;Close&lt;/<span class="s3">span</span>&gt;
<a name="l574"><span class="ln">574  </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l575"><span class="ln">575  </span></a>                &lt;<span class="s3">h1 </span><span class="s1">class=</span><span class="s4">&quot;modal-title&quot;</span>&gt;&lt;<span class="s3">strong</span>&gt;添加设备&lt;/<span class="s3">strong</span>&gt;&lt;/<span class="s3">h1</span>&gt;
<a name="l576"><span class="ln">576  </span></a>                &lt;<span class="s3">small </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">color</span>: <span class="s8">blue</span><span class="s4">&quot;</span>&gt;选择设备类型后，请务必点击生成设备编码&lt;/<span class="s3">small</span>&gt;
<a name="l577"><span class="ln">577  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l578"><span class="ln">578  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-body&quot;</span>&gt;
<a name="l579"><span class="ln">579  </span></a>                &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;form-sb-add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-horizontal&quot;</span>&gt;
<a name="l580"><span class="ln">580  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qbdiv&quot;</span>&gt;
<a name="l581"><span class="ln">581  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l582"><span class="ln">582  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;设备类型&lt;/<span class="s3">label</span>&gt;
<a name="l583"><span class="ln">583  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 sblxdiv&quot;</span>&gt;
<a name="l584"><span class="ln">584  </span></a>                                &lt;<span class="s3">select </span><span class="s1">name=</span><span class="s4">&quot;sbbh_sel&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbbh_sel&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot;</span>&gt;
<a name="l585"><span class="ln">585  </span></a>                                &lt;/<span class="s3">select</span>&gt;
<a name="l586"><span class="ln">586  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;maxbh&quot; </span><span class="s1">name=</span><span class="s4">&quot;maxbh&quot;</span>&gt;
<a name="l587"><span class="ln">587  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l588"><span class="ln">588  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label&quot; </span><span class="s1">id=</span><span class="s4">&quot;sblxlab&quot;</span>&gt;设备名称&lt;/<span class="s3">label</span>&gt;
<a name="l589"><span class="ln">589  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2&quot; </span><span class="s1">id=</span><span class="s4">&quot;sblxdiv2&quot;</span>&gt;
<a name="l590"><span class="ln">590  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;sbmc&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbmc_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l591"><span class="ln">591  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入设备名称&quot;</span>
<a name="l592"><span class="ln">592  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#ffffff</span><span class="s4">&quot;</span>&gt;
<a name="l593"><span class="ln">593  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbmc_option&quot;</span>&gt;
<a name="l594"><span class="ln">594  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbmc_index&quot;</span>&gt;
<a name="l595"><span class="ln">595  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;gsidfrotj&quot; </span><span class="s1">name=</span><span class="s4">&quot;gsid&quot;</span>&gt;
<a name="l596"><span class="ln">596  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l597"><span class="ln">597  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1&quot;</span>&gt;
<a name="l598"><span class="ln">598  </span></a>                                &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-primary btn-rounded btn-sm&quot; </span><span class="s1">id=</span><span class="s4">&quot;creat_sbbh_btn&quot;</span>&gt;
<a name="l599"><span class="ln">599  </span></a>                                    &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-search&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt;生成设备编号&lt;/<span class="s3">a</span>&gt;
<a name="l600"><span class="ln">600  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l601"><span class="ln">601  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2&quot; </span><span class="s1">id=</span><span class="s4">&quot;scsbbhdiv&quot;</span>&gt;
<a name="l602"><span class="ln">602  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请点击生成设备编号&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbbh_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot;</span>
<a name="l603"><span class="ln">603  </span></a>                                       <span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l604"><span class="ln">604  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot;</span>
<a name="l605"><span class="ln">605  </span></a>                                       <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#FFFFFF</span><span class="s4">&quot;</span>
<a name="l606"><span class="ln">606  </span></a>                                       <span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l607"><span class="ln">607  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot;&gt;&lt;img src=&quot;/img/700.gif&quot; style=&quot;margin-left: -25px;width: 200%&quot;&gt;&lt;/div&gt;--&gt;</span>
<a name="l608"><span class="ln">608  </span></a>
<a name="l609"><span class="ln">609  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l610"><span class="ln">610  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l611"><span class="ln">611  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l612"><span class="ln">612  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l613"><span class="ln">613  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;品牌型号&lt;/<span class="s3">label</span>&gt;
<a name="l614"><span class="ln">614  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l615"><span class="ln">615  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;guige&quot; </span><span class="s1">id=</span><span class="s4">&quot;guige_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l616"><span class="ln">616  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入品牌型号&quot; </span><span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l617"><span class="ln">617  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l618"><span class="ln">618  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;生产厂家&lt;/<span class="s3">label</span>&gt;
<a name="l619"><span class="ln">619  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 ksdiv&quot;</span>&gt;
<a name="l620"><span class="ln">620  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shccj&quot; </span><span class="s1">id=</span><span class="s4">&quot;shccj_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l621"><span class="ln">621  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入生产厂家&quot;</span>&gt;
<a name="l622"><span class="ln">622  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l623"><span class="ln">623  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label gmrqlab&quot;</span>&gt;购买日期&lt;/<span class="s3">label</span>&gt;
<a name="l624"><span class="ln">624  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 input-group date gmrqdiv&quot;</span>&gt;
<a name="l625"><span class="ln">625  </span></a>                                &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;input-group-addon txinput&quot;</span>&gt;&lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-calendar&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l626"><span class="ln">626  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;gmrq&quot; </span><span class="s1">id=</span><span class="s4">&quot;gmrq_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control gmrqforinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l627"><span class="ln">627  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;yyyy-MM-dd&quot;</span>
<a name="l628"><span class="ln">628  </span></a>                                       <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#FFFFFF</span>;<span class="s4">&quot;</span>&gt;
<a name="l629"><span class="ln">629  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l630"><span class="ln">630  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l631"><span class="ln">631  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l632"><span class="ln">632  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l633"><span class="ln">633  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l634"><span class="ln">634  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;主板型号&lt;/<span class="s3">label</span>&gt;
<a name="l635"><span class="ln">635  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l636"><span class="ln">636  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;zbxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;zbxh_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l637"><span class="ln">637  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入主板型号&quot;</span>&gt;
<a name="l638"><span class="ln">638  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l639"><span class="ln">639  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;CPU型号&lt;/<span class="s3">label</span>&gt;
<a name="l640"><span class="ln">640  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l641"><span class="ln">641  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;cpuxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;cpuxh_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l642"><span class="ln">642  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入CPU型号&quot;</span>&gt;
<a name="l643"><span class="ln">643  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l644"><span class="ln">644  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label gmrqlab&quot;</span>&gt;显<span class="s7">&amp;nbsp;&amp;nbsp;</span>示<span class="s7">&amp;nbsp;&amp;nbsp;</span>器&lt;/<span class="s3">label</span>&gt;
<a name="l645"><span class="ln">645  </span></a>                            <span class="s5">&lt;!--&lt;div class=&quot;col-sm-1&quot; style=&quot;margin-left:-20px;width: 220px&quot;&gt;--&gt;</span>
<a name="l646"><span class="ln">646  </span></a>                            &lt;!--&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqppcc_id&quot; class=&quot;form-control&quot; type=&quot;text&quot;--&gt;
<a name="l647"><span class="ln">647  </span></a>                            &lt;!--placeholder=&quot;请输入显示器品牌与尺寸&quot; style=&quot;border: none;border-bottom: 1px solid #e5e6e7;&quot;&gt;--&gt;
<a name="l648"><span class="ln">648  </span></a>                            &lt;!--&lt;/div&gt;--&gt;
<a name="l649"><span class="ln">649  </span></a>
<a name="l650"><span class="ln">650  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 xsqdiv&quot;</span>&gt;
<a name="l651"><span class="ln">651  </span></a>                                <span class="s5">&lt;!--下拉框输入选择--&gt;</span>
<a name="l652"><span class="ln">652  </span></a>                                &lt;!--&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqpp_id&quot; class=&quot;form-control&quot; list=&quot;browsersforxsq&quot;--&gt;
<a name="l653"><span class="ln">653  </span></a>                                &lt;!--placeholder=&quot;品牌助记码&quot;--&gt;
<a name="l654"><span class="ln">654  </span></a>                                &lt;!--style=&quot;border: none;border-bottom: 1px solid #e5e6e7;margin-left:-35px;width: 112px&quot;&gt;--&gt;
<a name="l655"><span class="ln">655  </span></a>                                &lt;!--&lt;datalist id=&quot;browsersforxsq&quot;&gt;&lt;/datalist&gt;--&gt;
<a name="l656"><span class="ln">656  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;xsqppcc&quot; </span><span class="s1">id=</span><span class="s4">&quot;xsqppcc_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput xsqinputk&quot;</span>
<a name="l657"><span class="ln">657  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;显示器品牌尺寸信息&quot;</span>
<a name="l658"><span class="ln">658  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot;</span>&gt;
<a name="l659"><span class="ln">659  </span></a>                                &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;help-block&quot;</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l660"><span class="ln">660  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l661"><span class="ln">661  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 fddiv&quot;</span>&gt;
<a name="l662"><span class="ln">662  </span></a>                                <span class="s5">&lt;!--&lt;input name=&quot;xsqppcc&quot; id=&quot;xsqcc_id&quot; class=&quot;form-control&quot; placeholder=&quot;尺寸&quot;--&gt;</span>
<a name="l663"><span class="ln">663  </span></a>                                &lt;!--style=&quot;border: none;border-bottom: 1px solid #e5e6e7;padding-right: 3px;padding-left: 3px;&quot;&gt;--&gt;
<a name="l664"><span class="ln">664  </span></a>                                &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-rounded btn-primary btn-sm xsqdxa&quot; </span><span class="s1">id=</span><span class="s4">&quot;xsqcc_btn&quot;</span>&gt;显示器&lt;/<span class="s3">a</span>&gt;
<a name="l665"><span class="ln">665  </span></a>                                &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;help-block&quot;</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l666"><span class="ln">666  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l667"><span class="ln">667  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l668"><span class="ln">668  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l669"><span class="ln">669  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l670"><span class="ln">670  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l671"><span class="ln">671  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;显卡型号&lt;/<span class="s3">label</span>&gt;
<a name="l672"><span class="ln">672  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l673"><span class="ln">673  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;xkxh&quot; </span><span class="s1">id=</span><span class="s4">&quot;xkxh_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l674"><span class="ln">674  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入显卡型号&quot;</span>&gt;
<a name="l675"><span class="ln">675  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l676"><span class="ln">676  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;内存大小&lt;/<span class="s3">label</span>&gt;
<a name="l677"><span class="ln">677  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ksdiv&quot;</span>&gt;
<a name="l678"><span class="ln">678  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ncggdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ncggdx_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l679"><span class="ln">679  </span></a>                                       <span class="s1">onkeyup=</span><span class="s4">&quot;</span><span class="s6">if</span>(<span class="s6">this</span>.value.length==<span class="s9">1</span>){<span class="s6">this</span>.value=<span class="s6">this</span>.value.replace(<span class="s9">/[^1-9]/g</span>,<span class="s8">''</span>)}<span class="s6">else</span>{<span class="s6">this</span>.value=<span class="s6">this</span>.value.replace(<span class="s9">/\D/g</span>,<span class="s8">''</span>)}<span class="s4">&quot;</span>
<a name="l680"><span class="ln">680  </span></a>                                       <span class="s1">onafterpaste=</span><span class="s4">&quot;if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}&quot;</span>
<a name="l681"><span class="ln">681  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入内存大小只能输入数字&quot;</span>&gt;
<a name="l682"><span class="ln">682  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l683"><span class="ln">683  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label gmrqlab&quot;</span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l684"><span class="ln">684  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdiv&quot;</span>&gt;
<a name="l685"><span class="ln">685  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_id_1&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput ypinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l686"><span class="ln">686  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot;</span>
<a name="l687"><span class="ln">687  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请点击硬盘一按钮     &quot;</span>&gt;
<a name="l688"><span class="ln">688  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l689"><span class="ln">689  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdxadiv&quot;</span>&gt;
<a name="l690"><span class="ln">690  </span></a>                                &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-primary btn-rounded btn-sm ypdxa&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_btn_1&quot;</span>&gt;硬盘一&lt;/<span class="s3">a</span>&gt;
<a name="l691"><span class="ln">691  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l692"><span class="ln">692  </span></a>
<a name="l693"><span class="ln">693  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l694"><span class="ln">694  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l695"><span class="ln">695  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l696"><span class="ln">696  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l697"><span class="ln">697  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;IP<span class="s7">&amp;nbsp;&amp;nbsp;</span>地<span class="s7">&amp;nbsp;&amp;nbsp;</span>址&lt;/<span class="s3">label</span>&gt;
<a name="l698"><span class="ln">698  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ipdzdiv&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz_id&quot; </span>&gt;
<a name="l699"><span class="ln">699  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz1&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip1&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l700"><span class="ln">700  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz2&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip2&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l701"><span class="ln">701  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz3&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip3&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;.&lt;<span class="s3">input</span>
<a name="l702"><span class="ln">702  </span></a>                                    <span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">id=</span><span class="s4">&quot;ipdz4&quot; </span><span class="s1">class=</span><span class="s4">&quot;ip4&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;3&quot;</span>&gt;
<a name="l703"><span class="ln">703  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l704"><span class="ln">704  </span></a>                            &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">name=</span><span class="s4">&quot;ipdz&quot; </span><span class="s1">id=</span><span class="s4">&quot;ip&quot;</span>&gt;
<a name="l705"><span class="ln">705  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label ypmac&quot;</span>&gt;MAC地址&lt;/<span class="s3">label</span>&gt;
<a name="l706"><span class="ln">706  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 macdzdiv&quot; </span><span class="s1">id=</span><span class="s4">&quot;macdz_id&quot;</span>&gt;
<a name="l707"><span class="ln">707  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac1&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l708"><span class="ln">708  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac2&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l709"><span class="ln">709  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac3&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l710"><span class="ln">710  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac4&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l711"><span class="ln">711  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac5&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;-
<a name="l712"><span class="ln">712  </span></a>                                &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">value=</span><span class="s4">&quot;&quot; </span><span class="s1">class=</span><span class="s4">&quot;mac6&quot; </span><span class="s1">maxlength=</span><span class="s4">&quot;2&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">25</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l713"><span class="ln">713  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l714"><span class="ln">714  </span></a>                            &lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">name=</span><span class="s4">&quot;macdz&quot; </span><span class="s1">id=</span><span class="s4">&quot;mac&quot;</span>&gt;
<a name="l715"><span class="ln">715  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label gmrqlab2&quot; </span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l716"><span class="ln">716  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdiv&quot;</span>&gt;
<a name="l717"><span class="ln">717  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_id_2&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput ypinput2&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l718"><span class="ln">718  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot;</span>
<a name="l719"><span class="ln">719  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请点击硬盘二按钮     &quot;</span>
<a name="l720"><span class="ln">720  </span></a>                                       <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span><span class="s4">&quot;</span>&gt;
<a name="l721"><span class="ln">721  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l722"><span class="ln">722  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdxadiv&quot;</span>&gt;
<a name="l723"><span class="ln">723  </span></a>                                &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-rounded btn-primary btn-sm ypdxa&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_btn_2&quot;</span>&gt;硬盘二&lt;/<span class="s3">a</span>&gt;
<a name="l724"><span class="ln">724  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l725"><span class="ln">725  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l726"><span class="ln">726  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l727"><span class="ln">727  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row qmdiv&quot;</span>&gt;
<a name="l728"><span class="ln">728  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l729"><span class="ln">729  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label lableft&quot;</span>&gt;使用部门&lt;/<span class="s3">label</span>&gt;
<a name="l730"><span class="ln">730  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 wddiv&quot;</span>&gt;
<a name="l731"><span class="ln">731  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l732"><span class="ln">732  </span></a>                                    &lt;<span class="s3">select </span><span class="s1">name=</span><span class="s4">&quot;bm&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control m-b qbinput&quot; </span><span class="s1">id=</span><span class="s4">&quot;bmid_id&quot;</span>&gt;
<a name="l733"><span class="ln">733  </span></a>                                    &lt;/<span class="s3">select</span>&gt;
<a name="l734"><span class="ln">734  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l735"><span class="ln">735  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l736"><span class="ln">736  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1&quot;</span>&gt;
<a name="l737"><span class="ln">737  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group xmdiv&quot; </span>&gt;
<a name="l738"><span class="ln">738  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shiyr&quot; </span><span class="s1">id=</span><span class="s4">&quot;shiyr_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput lddiv&quot;</span>
<a name="l739"><span class="ln">739  </span></a>                                           <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">80</span><span class="s8">px</span><span class="s4">&quot; </span><span class="s1">list=</span><span class="s4">&quot;browsers&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;姓名拼音&quot;</span>&gt;
<a name="l740"><span class="ln">740  </span></a>                                    &lt;<span class="s3">datalist </span><span class="s1">id=</span><span class="s4">&quot;browsers&quot;</span>&gt;&lt;/<span class="s3">datalist</span>&gt;
<a name="l741"><span class="ln">741  </span></a>                                    &lt;<span class="s3">span </span><span class="s1">class=</span><span class="s4">&quot;help-block&quot;</span>&gt;&lt;/<span class="s3">span</span>&gt;
<a name="l742"><span class="ln">742  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l743"><span class="ln">743  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l744"><span class="ln">744  </span></a>
<a name="l745"><span class="ln">745  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label labright&quot;</span>&gt;备<span class="s7">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</span>注&lt;/<span class="s3">label</span>&gt;
<a name="l746"><span class="ln">746  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-10 ksdiv&quot;</span>&gt;
<a name="l747"><span class="ln">747  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;beiz&quot; </span><span class="s1">id=</span><span class="s4">&quot;beiz_id&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l748"><span class="ln">748  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请输入备注&quot;</span>&gt;
<a name="l749"><span class="ln">749  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l750"><span class="ln">750  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-2 control-label gmrqlab&quot;</span>&gt;硬盘信息&lt;/<span class="s3">label</span>&gt;
<a name="l751"><span class="ln">751  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdiv&quot;</span>&gt;
<a name="l752"><span class="ln">752  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;ypdx&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_id_3&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control qbinput ypinput&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l753"><span class="ln">753  </span></a>                                       <span class="s1">readonly=</span><span class="s4">&quot;readonly&quot;</span>
<a name="l754"><span class="ln">754  </span></a>                                       <span class="s1">placeholder=</span><span class="s4">&quot;请点击硬盘三按钮     &quot;</span>
<a name="l755"><span class="ln">755  </span></a>                                       <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">background-color</span>: <span class="s6">#FFFFFF</span><span class="s4">&quot;</span>&gt;
<a name="l756"><span class="ln">756  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l757"><span class="ln">757  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-1 ypdxadiv&quot;</span>&gt;
<a name="l758"><span class="ln">758  </span></a>                                &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-rounded btn-primary btn-sm ypdxa&quot; </span><span class="s1">id=</span><span class="s4">&quot;ypdx_btn_3&quot;</span>&gt;硬盘三&lt;/<span class="s3">a</span>&gt;
<a name="l759"><span class="ln">759  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l760"><span class="ln">760  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l761"><span class="ln">761  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l762"><span class="ln">762  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">display</span>: <span class="s8">none</span><span class="s4">&quot;</span>&gt;
<a name="l763"><span class="ln">763  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12&quot;</span>&gt;
<a name="l764"><span class="ln">764  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l765"><span class="ln">765  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;went&quot; </span><span class="s1">disabled id=</span><span class="s4">&quot;tj_text&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l766"><span class="ln">766  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l767"><span class="ln">767  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l768"><span class="ln">768  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l769"><span class="ln">769  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">display</span>: <span class="s8">none</span><span class="s4">&quot;</span>&gt;
<a name="l770"><span class="ln">770  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12&quot;</span>&gt;
<a name="l771"><span class="ln">771  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l772"><span class="ln">772  </span></a>                                &lt;<span class="s3">div </span><span class="s1">id=</span><span class="s4">&quot;tj_qrcode&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>:<span class="s9">100</span><span class="s8">px</span>; <span class="s7">height</span>:<span class="s9">100</span><span class="s8">px</span>; <span class="s7">margin-top</span>:<span class="s9">15</span><span class="s8">px</span>;<span class="s4">&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l773"><span class="ln">773  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;qrcode&quot; </span><span class="s1">id=</span><span class="s4">&quot;tj_qrcode_update_input_15&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot;</span>&gt;
<a name="l774"><span class="ln">774  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l775"><span class="ln">775  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l776"><span class="ln">776  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l777"><span class="ln">777  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l778"><span class="ln">778  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l779"><span class="ln">779  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-footer&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">height</span>:<span class="s9">0</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l780"><span class="ln">780  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;关闭&lt;/<span class="s3">button</span>&gt;
<a name="l781"><span class="ln">781  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">id=</span><span class="s4">&quot;sb_save_btn&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>savesb()<span class="s4">&quot;</span>&gt;保存
<a name="l782"><span class="ln">782  </span></a>                                &lt;/<span class="s3">button</span>&gt;
<a name="l783"><span class="ln">783  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l784"><span class="ln">784  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l785"><span class="ln">785  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l786"><span class="ln">786  </span></a>                &lt;/<span class="s3">form</span>&gt;
<a name="l787"><span class="ln">787  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l788"><span class="ln">788  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l789"><span class="ln">789  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l790"><span class="ln">790  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l791"><span class="ln">791  </span></a><span class="s5">&lt;!--添加模态框结束--&gt;</span>
<a name="l792"><span class="ln">792  </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;container-div&quot;</span>&gt;
<a name="l793"><span class="ln">793  </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l794"><span class="ln">794  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 search-collapse&quot;</span>&gt;
<a name="l795"><span class="ln">795  </span></a>            &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;operlog-form&quot;</span>&gt;
<a name="l796"><span class="ln">796  </span></a>                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;select-list&quot;</span>&gt;
<a name="l797"><span class="ln">797  </span></a>                    &lt;<span class="s3">ul</span>&gt;
<a name="l798"><span class="ln">798  </span></a>                        &lt;<span class="s3">li</span>&gt;
<a name="l799"><span class="ln">799  </span></a>                            &lt;<span class="s3">label</span>&gt;检索：&lt;/<span class="s3">label</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">name=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入设备编码进行查询&quot;</span>
<a name="l800"><span class="ln">800  </span></a>                                                     <span class="s1">onkeydown=</span><span class="s4">&quot;</span><span class="s6">if</span>(event.keyCode==<span class="s9">13</span>){event.keyCode=<span class="s9">0</span>;event.returnValue=<span class="s6">false</span>;alert(<span class="s8">'请点击后面的搜索框'</span>);}<span class="s4">&quot;</span>/&gt;
<a name="l801"><span class="ln">801  </span></a>                        &lt;/<span class="s3">li</span>&gt;
<a name="l802"><span class="ln">802  </span></a>
<a name="l803"><span class="ln">803  </span></a>                        &lt;<span class="s3">li</span>&gt;
<a name="l804"><span class="ln">804  </span></a>                            是否显示报废：&lt;<span class="s3">select </span><span class="s1">name=</span><span class="s4">&quot;bfbs&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">width</span>: <span class="s9">50</span><span class="s8">px</span><span class="s4">&quot; </span><span class="s1">id=</span><span class="s4">&quot;is_bf&quot;</span>&gt;
<a name="l805"><span class="ln">805  </span></a>                            &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;0&quot;</span>&gt;否&lt;/<span class="s3">option</span>&gt;
<a name="l806"><span class="ln">806  </span></a>                            &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;1&quot;</span>&gt;是&lt;/<span class="s3">option</span>&gt;
<a name="l807"><span class="ln">807  </span></a>                            &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;&quot;</span>&gt;所有&lt;/<span class="s3">option</span>&gt;
<a name="l808"><span class="ln">808  </span></a>                        &lt;/<span class="s3">select</span>&gt;
<a name="l809"><span class="ln">809  </span></a>                        &lt;/<span class="s3">li</span>&gt;
<a name="l810"><span class="ln">810  </span></a>                        &lt;<span class="s3">li</span>&gt;
<a name="l811"><span class="ln">811  </span></a>                            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-primary btn-rounded btn-sm&quot; </span><span class="s1">id=</span><span class="s4">&quot;search_btn&quot;</span>&gt;&lt;<span class="s3">i</span>
<a name="l812"><span class="ln">812  </span></a>                                    <span class="s1">class=</span><span class="s4">&quot;fa fa-search&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt;<span class="s7">&amp;nbsp;</span>搜索&lt;/<span class="s3">a</span>&gt;
<a name="l813"><span class="ln">813  </span></a>                        &lt;/<span class="s3">li</span>&gt;
<a name="l814"><span class="ln">814  </span></a>                    &lt;/<span class="s3">ul</span>&gt;
<a name="l815"><span class="ln">815  </span></a>                &lt;/<span class="s3">div</span>&gt;
<a name="l816"><span class="ln">816  </span></a>            &lt;/<span class="s3">form</span>&gt;
<a name="l817"><span class="ln">817  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l818"><span class="ln">818  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;btn-group-sm&quot; </span><span class="s1">id=</span><span class="s4">&quot;toolbar&quot; </span><span class="s1">role=</span><span class="s4">&quot;group&quot;</span>&gt;
<a name="l819"><span class="ln">819  </span></a>            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-success&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>tjsb()<span class="s4">&quot; </span><span class="s1">id=</span><span class="s4">&quot;tjsb&quot;</span>&gt;
<a name="l820"><span class="ln">820  </span></a>                &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-pencil&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt; 添加设备
<a name="l821"><span class="ln">821  </span></a>            &lt;/<span class="s3">a</span>&gt;
<a name="l822"><span class="ln">822  </span></a>            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-danger&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>Mysbtz()<span class="s4">&quot; </span><span class="s1">id=</span><span class="s4">&quot;remove&quot;</span>&gt;
<a name="l823"><span class="ln">823  </span></a>                &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-remove&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt; 设备台账打印
<a name="l824"><span class="ln">824  </span></a>            &lt;/<span class="s3">a</span>&gt;
<a name="l825"><span class="ln">825  </span></a>            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-info&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>MyPreview()<span class="s4">&quot; </span><span class="s1">id=</span><span class="s4">&quot;print&quot;</span>&gt;
<a name="l826"><span class="ln">826  </span></a>                &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-remove&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt; 二维码打印
<a name="l827"><span class="ln">827  </span></a>            &lt;/<span class="s3">a</span>&gt;
<a name="l828"><span class="ln">828  </span></a>            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-info&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>dywhjl()<span class="s4">&quot; </span><span class="s1">id=</span><span class="s4">&quot;whjldx&quot;</span>&gt;
<a name="l829"><span class="ln">829  </span></a>                &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-remove&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt; 打印维护记录
<a name="l830"><span class="ln">830  </span></a>            &lt;/<span class="s3">a</span>&gt;
<a name="l831"><span class="ln">831  </span></a>            &lt;<span class="s3">a </span><span class="s1">th:href=</span><span class="s4">&quot;@{/sbgl/sbxxb/exportExcel}&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-danger&quot; </span><span class="s1">id=</span><span class="s4">&quot;exportExcel&quot;</span>&gt;导出&lt;/<span class="s3">a</span>&gt;
<a name="l832"><span class="ln">832  </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-left</span>:-<span class="s9">20</span><span class="s8">px</span>;<span class="s7">width</span>: <span class="s9">250</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l833"><span class="ln">833  </span></a>                &lt;<span class="s3">select </span><span class="s1">name=</span><span class="s4">&quot;sbmc_sel&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbmc_sel&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot;</span>&gt;
<a name="l834"><span class="ln">834  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-&quot;</span>&gt;请选择打印设备名称&lt;/<span class="s3">option</span>&gt;
<a name="l835"><span class="ln">835  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-082-&quot;</span>&gt;台式电脑&lt;/<span class="s3">option</span>&gt;
<a name="l836"><span class="ln">836  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-085-&quot;</span>&gt;针式打印机&lt;/<span class="s3">option</span>&gt;
<a name="l837"><span class="ln">837  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-084-&quot;</span>&gt;激光打印机&lt;/<span class="s3">option</span>&gt;
<a name="l838"><span class="ln">838  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-089-&quot;</span>&gt;笔记本电脑&lt;/<span class="s3">option</span>&gt;
<a name="l839"><span class="ln">839  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-083-&quot;</span>&gt;喷墨打印机&lt;/<span class="s3">option</span>&gt;
<a name="l840"><span class="ln">840  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-086-&quot;</span>&gt;网关设备&lt;/<span class="s3">option</span>&gt;
<a name="l841"><span class="ln">841  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-087-&quot;</span>&gt;投影仪&lt;/<span class="s3">option</span>&gt;
<a name="l842"><span class="ln">842  </span></a>                    &lt;<span class="s3">option </span><span class="s1">value=</span><span class="s4">&quot;GASB-088-&quot;</span>&gt;服务器&lt;/<span class="s3">option</span>&gt;
<a name="l843"><span class="ln">843  </span></a>                &lt;/<span class="s3">select</span>&gt;
<a name="l844"><span class="ln">844  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l845"><span class="ln">845  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l846"><span class="ln">846  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 select-table table-striped&quot;</span>&gt;
<a name="l847"><span class="ln">847  </span></a>            &lt;<span class="s3">table </span><span class="s1">id=</span><span class="s4">&quot;bootstrap-table&quot; </span><span class="s1">data-mobile-responsive=</span><span class="s4">&quot;true&quot;</span>&gt;&lt;/<span class="s3">table</span>&gt;
<a name="l848"><span class="ln">848  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l849"><span class="ln">849  </span></a>        <span class="s5">&lt;!--&amp;lt;!&amp;ndash;显示的页脚&amp;ndash;&amp;gt;--&gt;</span>
<a name="l850"><span class="ln">850  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 search-collapse&quot;</span>&gt;
<a name="l851"><span class="ln">851  </span></a>            &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;footform&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-horizontal&quot;</span>&gt;
<a name="l852"><span class="ln">852  </span></a>                &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;control-label&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">margin-left</span>: <span class="s9">100</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;登录人：&lt;/<span class="s3">label</span>&gt;
<a name="l853"><span class="ln">853  </span></a>                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;&quot;</span>&gt;
<a name="l854"><span class="ln">854  </span></a>                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shiyr&quot; </span><span class="s1">id=</span><span class="s4">&quot;dengmz&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l855"><span class="ln">855  </span></a>                           <span class="s1">placeholder=</span><span class="s4">&quot;请输入登录人&quot;</span>
<a name="l856"><span class="ln">856  </span></a>                           <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">border</span>: <span class="s8">none</span>;<span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l857"><span class="ln">857  </span></a>                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;shiyr&quot; </span><span class="s1">id=</span><span class="s4">&quot;gsids&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>
<a name="l858"><span class="ln">858  </span></a>                           <span class="s1">placeholder=</span><span class="s4">&quot;请输入登录人&quot;</span>
<a name="l859"><span class="ln">859  </span></a>                           <span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">border</span>: <span class="s8">none</span>;<span class="s7">text-align</span>:<span class="s8">right</span>;<span class="s7">padding-right</span>: <span class="s9">3</span><span class="s8">px</span>;<span class="s7">padding-left</span>: <span class="s9">3</span><span class="s8">px</span><span class="s4">&quot;</span>&gt;
<a name="l860"><span class="ln">860  </span></a>                &lt;/<span class="s3">div</span>&gt;
<a name="l861"><span class="ln">861  </span></a>            &lt;/<span class="s3">form</span>&gt;
<a name="l862"><span class="ln">862  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l863"><span class="ln">863  </span></a>        <span class="s5">&lt;!--隐藏的打印设备标签二维码表格开始--&gt;</span>
<a name="l864"><span class="ln">864  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 select-table table-striped&quot; </span><span class="s1">id=</span><span class="s4">&quot;divid&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">display</span>: <span class="s8">none</span><span class="s4">&quot;</span>&gt;
<a name="l865"><span class="ln">865  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l866"><span class="ln">866  </span></a>        <span class="s5">&lt;!--隐藏的打印设备标签二维码表格结束--&gt;</span>
<a name="l867"><span class="ln">867  </span></a>        &lt;!--隐藏的打印设备台账表格开始--&gt;
<a name="l868"><span class="ln">868  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 select-table table-striped&quot; </span><span class="s1">id=</span><span class="s4">&quot;divid_sbtz&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">display</span>: <span class="s8">none</span><span class="s4">&quot;</span>&gt;
<a name="l869"><span class="ln">869  </span></a>            &lt;<span class="s3">table </span><span class="s1">class=</span><span class="s4">'table table-hover table-bordered' </span><span class="s1">cellpadding=</span><span class="s4">'0' </span><span class="s1">border=</span><span class="s4">'1' </span><span class="s1">cellspacing=</span><span class="s4">'0'</span>
<a name="l870"><span class="ln">870  </span></a>                   <span class="s1">id=</span><span class="s4">&quot;tableid_sbtz&quot;</span>&gt;
<a name="l871"><span class="ln">871  </span></a>                &lt;<span class="s3">thead</span>&gt;
<a name="l872"><span class="ln">872  </span></a>                &lt;<span class="s3">div</span>&gt;&lt;<span class="s3">p</span>&gt;计算机设施设备管理台帐&lt;/<span class="s3">p</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l873"><span class="ln">873  </span></a>                &lt;<span class="s3">tr </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">font-size</span>: <span class="s9">9</span><span class="s8">pt</span>;<span class="s7">font-family</span>: <span class="s6">微软雅黑</span>;<span class="s4">&quot;</span>&gt;
<a name="l874"><span class="ln">874  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_xh&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;序号&lt;/<span class="s3">td</span>&gt;
<a name="l875"><span class="ln">875  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_sbbh&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;设备编号&lt;/<span class="s3">td</span>&gt;
<a name="l876"><span class="ln">876  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_sbmc&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;设备名称&lt;/<span class="s3">td</span>&gt;
<a name="l877"><span class="ln">877  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_ggxh&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;规格型号&lt;/<span class="s3">td</span>&gt;
<a name="l878"><span class="ln">878  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_zbxh&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;主板&lt;/<span class="s3">td</span>&gt;
<a name="l879"><span class="ln">879  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_cpuxh&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;CPU&lt;/<span class="s3">td</span>&gt;
<a name="l880"><span class="ln">880  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_ncdx&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;内存&lt;/<span class="s3">td</span>&gt;
<a name="l881"><span class="ln">881  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_ypdx&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;硬盘&lt;/<span class="s3">td</span>&gt;
<a name="l882"><span class="ln">882  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_xsqdx&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;显示器&lt;/<span class="s3">td</span>&gt;
<a name="l883"><span class="ln">883  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_dw&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;单位&lt;/<span class="s3">td</span>&gt;
<a name="l884"><span class="ln">884  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_shul&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;数量&lt;/<span class="s3">td</span>&gt;
<a name="l885"><span class="ln">885  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_shchd&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;生产厂商&lt;/<span class="s3">td</span>&gt;
<a name="l886"><span class="ln">886  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_gmrq&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;购置日期&lt;/<span class="s3">td</span>&gt;
<a name="l887"><span class="ln">887  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_ipdz&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;IP&lt;/<span class="s3">td</span>&gt;
<a name="l888"><span class="ln">888  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_maxdz&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;MAC&lt;/<span class="s3">td</span>&gt;
<a name="l889"><span class="ln">889  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_beiz&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;备注&lt;/<span class="s3">td</span>&gt;
<a name="l890"><span class="ln">890  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_bm&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;部门&lt;/<span class="s3">td</span>&gt;
<a name="l891"><span class="ln">891  </span></a>                    &lt;<span class="s3">td </span><span class="s1">align=</span><span class="s4">&quot;center&quot; </span><span class="s1">id=</span><span class="s4">&quot;yc_shiyr&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s7">background-color</span>: <span class="s6">#99CCFF</span><span class="s4">&quot;</span>&gt;签字&lt;/<span class="s3">td</span>&gt;
<a name="l892"><span class="ln">892  </span></a>                &lt;/<span class="s3">tr</span>&gt;
<a name="l893"><span class="ln">893  </span></a>                &lt;/<span class="s3">thead</span>&gt;
<a name="l894"><span class="ln">894  </span></a>                &lt;<span class="s3">tbody </span><span class="s1">id=</span><span class="s4">&quot;tbody_id&quot;</span>&gt;
<a name="l895"><span class="ln">895  </span></a>                &lt;/<span class="s3">tbody</span>&gt;
<a name="l896"><span class="ln">896  </span></a>            &lt;/<span class="s3">table</span>&gt;
<a name="l897"><span class="ln">897  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l898"><span class="ln">898  </span></a>        <span class="s5">&lt;!--隐藏的打印设备台账表格结束--&gt;</span>
<a name="l899"><span class="ln">899  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l900"><span class="ln">900  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l901"><span class="ln">901  </span></a>&lt;<span class="s3">div</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;_pageNumber&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l902"><span class="ln">902  </span></a>&lt;<span class="s3">div</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;_pageSize&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l903"><span class="ln">903  </span></a><span class="s5">&lt;!--&lt;p&gt;[[${url}]]&lt;/p&gt;--&gt;</span>
<a name="l904"><span class="ln">904  </span></a>&lt;<span class="s3">th:block </span><span class="s1">th:include=</span><span class="s4">&quot;include :: footer&quot;</span>/&gt;
<a name="l905"><span class="ln">905  </span></a><span class="s5">&lt;!--&lt;th:block th:include=&quot;include :: bootstrap-select-js&quot;/&gt;--&gt;</span>
<a name="l906"><span class="ln">906  </span></a>&lt;!--&lt;th:block th:include=&quot;include :: jasny-bootstrap-js&quot;/&gt;--&gt;
<a name="l907"><span class="ln">907  </span></a>&lt;!--&lt;th:block th:include=&quot;include :: datetimepicker-js&quot;/&gt;--&gt;
<a name="l908"><span class="ln">908  </span></a>&lt;!--&lt;script th:src=&quot;@{/ruoyi/js/jquery.cookie.js}&quot;&gt;&lt;/script&gt;--&gt;
<a name="l909"><span class="ln">909  </span></a>&lt;<span class="s3">script </span><span class="s1">th:src=</span><span class="s4">&quot;@{/ruoyi/js/jquery-confirm.min.js}&quot;</span>&gt;&lt;/<span class="s3">script</span>&gt;
<a name="l910"><span class="ln">910  </span></a><span class="s5">&lt;!--&lt;script src='http://192.168.0.58:8000/CLodopfuncs.js'&gt;&lt;/script&gt;--&gt;</span>
<a name="l911"><span class="ln">911  </span></a>&lt;!--&lt;script src='http://192.168.0.58:18000/CLodopfuncs.js'&gt;&lt;/script&gt;--&gt;
<a name="l912"><span class="ln">912  </span></a>&lt;<span class="s3">script </span><span class="s1">th:src=</span><span class="s4">&quot;@{/ruoyi/js/jquery.form.js}&quot;</span>&gt;&lt;/<span class="s3">script</span>&gt;
<a name="l913"><span class="ln">913  </span></a>&lt;<span class="s3">script </span><span class="s1">th:inline=</span><span class="s4">&quot;javascript&quot;</span>&gt;
<a name="l914"><span class="ln">914  </span></a>    <span class="s6">var </span>selections = [];
<a name="l915"><span class="ln">915  </span></a>    <span class="s6">var </span>LODOP; <span class="s5">//声明为全局变量</span>
<a name="l916"><span class="ln">916  </span></a>    // var now = getNow();
<a name="l917"><span class="ln">917  </span></a>    // watermark({&quot;watermark_txt&quot;: &quot;海 王 国 安&quot; + now});
<a name="l918"><span class="ln">918  </span></a>    <span class="s6">var </span>sessionname = [[${session.username}]]
<a name="l919"><span class="ln">919  </span></a>    <span class="s6">var </span>gsid = [[${session.gsid}]]
<a name="l920"><span class="ln">920  </span></a>    <span class="s5">//打开网页加载bootstrap-table数据</span>
<a name="l921"><span class="ln">921  </span></a>    $(document).ready(<span class="s6">function </span>() {
<a name="l922"><span class="ln">922  </span></a><span class="s5">//      设置模态框居中</span>
<a name="l923"><span class="ln">923  </span></a>//         $('#sbAddModal').on('shown.bs.modal', function (e) {
<a name="l924"><span class="ln">924  </span></a>// // 关键代码，如没将modal设置为 block，则$modala_dialog.height() 为零
<a name="l925"><span class="ln">925  </span></a>//             $(this).css('display', 'block');
<a name="l926"><span class="ln">926  </span></a>//             var modalHeight=$(window).height() / 2 - $('#sbAddModal .modal-dialog').height() / 2;
<a name="l927"><span class="ln">927  </span></a>//             $(this).find('.modal-dialog').css({
<a name="l928"><span class="ln">928  </span></a>//                 'margin-top': modalHeight
<a name="l929"><span class="ln">929  </span></a>//             });
<a name="l930"><span class="ln">930  </span></a>//         });
<a name="l931"><span class="ln">931  </span></a>        $(<span class="s8">&quot;#dengmz&quot;</span>).val(sessionname)
<a name="l932"><span class="ln">932  </span></a>        <span class="s6">if </span>(gsid == <span class="s6">null</span>) {
<a name="l933"><span class="ln">933  </span></a>            alert(<span class="s8">&quot;当前状态未登陆系统或浏览器中当前会话结束了，您需要重新登陆&quot;</span>)
<a name="l934"><span class="ln">934  </span></a>            window.location.href = <span class="s8">&quot;/login&quot;</span>;
<a name="l935"><span class="ln">935  </span></a>        }
<a name="l936"><span class="ln">936  </span></a>        $(<span class="s8">&quot;#gsids&quot;</span>).val(gsid)
<a name="l937"><span class="ln">937  </span></a>        initUserTable();
<a name="l938"><span class="ln">938  </span></a>
<a name="l939"><span class="ln">939  </span></a>        yctable()
<a name="l940"><span class="ln">940  </span></a>        <span class="s6">function </span>initUserTable() {
<a name="l941"><span class="ln">941  </span></a>            $(<span class="s8">&quot;#bootstrap-table&quot;</span>).bootstrapTable({
<a name="l942"><span class="ln">942  </span></a>                toolbar: <span class="s8">'#toolbar'</span>,
<a name="l943"><span class="ln">943  </span></a>                showToggle: <span class="s6">true</span>,<span class="s5">//是否切换显示</span>
<a name="l944"><span class="ln">944  </span></a>                showColumns: <span class="s6">true</span>,<span class="s5">//是否显示列，</span>
<a name="l945"><span class="ln">945  </span></a>                showColumnsToggleAll: <span class="s6">true</span>,
<a name="l946"><span class="ln">946  </span></a>                <span class="s5">// detailView: true,//和下面的属性成对设置，是否显示加号显示详细信息</span>
<a name="l947"><span class="ln">947  </span></a>                // detailFormatter: &quot;detailFormatter&quot;,
<a name="l948"><span class="ln">948  </span></a>                showExport: <span class="s6">true</span>,<span class="s5">//是否导出</span>
<a name="l949"><span class="ln">949  </span></a>                // showPaginationSwitch: true,//切换是否分页显示
<a name="l950"><span class="ln">950  </span></a>                showFooter: <span class="s6">true</span>,<span class="s5">//是否显示页脚，主要用途是显示汇总的信息</span>
<a name="l951"><span class="ln">951  </span></a>                striped: <span class="s6">false</span>,<span class="s5">//是否显示行间隔色</span>
<a name="l952"><span class="ln">952  </span></a>                paginationPreText: <span class="s8">'上一页'</span>,
<a name="l953"><span class="ln">953  </span></a>                paginationNextText: <span class="s8">'下一页'</span>,
<a name="l954"><span class="ln">954  </span></a>                queryParamsType: <span class="s8">''</span>,
<a name="l955"><span class="ln">955  </span></a>                method: <span class="s8">'GET'</span>,
<a name="l956"><span class="ln">956  </span></a>                uniqueId: <span class="s8">&quot;id&quot;</span>,
<a name="l957"><span class="ln">957  </span></a>                exportDataType: <span class="s8">&quot;basic&quot;</span>, <span class="s5">//basic', 'all', 'selected'.</span>
<a name="l958"><span class="ln">958  </span></a>                // exportTypes:['Excel'],  //导出文件类型
<a name="l959"><span class="ln">959  </span></a>                pageNumber: <span class="s8">'form' </span>? <span class="s9">1 </span>: parseInt($(<span class="s8">'#_pageNumber'</span>).val()),
<a name="l960"><span class="ln">960  </span></a>                pagination: <span class="s6">true</span>,<span class="s5">//是否分页</span>
<a name="l961"><span class="ln">961  </span></a>                sidePagination: <span class="s8">'server'</span>,<span class="s5">//server:服务器端分页|client：前端分页</span>
<a name="l962"><span class="ln">962  </span></a>                pageSize: <span class="s8">'form' </span>? <span class="s9">10 </span>: parseInt($(<span class="s8">'#_pageSize'</span>).val()),<span class="s5">//单页记录数</span>
<a name="l963"><span class="ln">963  </span></a>                pageList: [<span class="s9">10</span>, <span class="s9">20</span>, <span class="s9">30</span>, <span class="s8">'ALL'</span>],<span class="s5">//可选择单页记录数</span>
<a name="l964"><span class="ln">964  </span></a>                showRefresh: <span class="s6">true</span>,<span class="s5">//刷新按钮</span>
<a name="l965"><span class="ln">965  </span></a>                queryParams: queryParams,
<a name="l966"><span class="ln">966  </span></a>                <span class="s5">// onDblClickRow: function (row,index) {</span>
<a name="l967"><span class="ln">967  </span></a>                //     console.log(index[0])
<a name="l968"><span class="ln">968  </span></a>                // },
<a name="l969"><span class="ln">969  </span></a>                onDblClickRow: <span class="s6">function </span>(row, tr, flied) {
<a name="l970"><span class="ln">970  </span></a>                    tr.addClass(<span class="s8">&quot;selected&quot;</span>)
<a name="l971"><span class="ln">971  </span></a>                    alert(row.bfbs)
<a name="l972"><span class="ln">972  </span></a>                    tr.attr(<span class="s8">&quot;checked&quot;</span>, <span class="s6">true</span>)
<a name="l973"><span class="ln">973  </span></a>                },
<a name="l974"><span class="ln">974  </span></a>
<a name="l975"><span class="ln">975  </span></a>                url: <span class="s8">&quot;/sbgl/sbxxb/getsblist/&quot;</span>,
<a name="l976"><span class="ln">976  </span></a>                columns: [{
<a name="l977"><span class="ln">977  </span></a>                    checkbox: <span class="s6">true</span>
<a name="l978"><span class="ln">978  </span></a>                },
<a name="l979"><span class="ln">979  </span></a>                    {
<a name="l980"><span class="ln">980  </span></a>                        field: <span class="s8">'no'</span>,
<a name="l981"><span class="ln">981  </span></a>                        title: <span class="s8">'序号'</span>,
<a name="l982"><span class="ln">982  </span></a>                        align: <span class="s8">&quot;center&quot;</span>,
<a name="l983"><span class="ln">983  </span></a>                        width: <span class="s9">60</span>,
<a name="l984"><span class="ln">984  </span></a>                        formatter: <span class="s6">function </span>(value, row, index) {
<a name="l985"><span class="ln">985  </span></a>                            <span class="s5">//获取每页显示的数量</span>
<a name="l986"><span class="ln">986  </span></a>                            <span class="s6">var </span>pageSize = $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getOptions'</span>).pageSize;
<a name="l987"><span class="ln">987  </span></a>                            <span class="s5">//获取当前是第几页</span>
<a name="l988"><span class="ln">988  </span></a>                            <span class="s6">var </span>pageNumber = $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getOptions'</span>).pageNumber;
<a name="l989"><span class="ln">989  </span></a>                            <span class="s5">//返回序号，注意index是从0开始的，所以要加上1</span>
<a name="l990"><span class="ln">990  </span></a>                            <span class="s6">return </span>pageSize * (pageNumber - <span class="s9">1</span>) + index + <span class="s9">1</span>;
<a name="l991"><span class="ln">991  </span></a>                        }
<a name="l992"><span class="ln">992  </span></a>                    },
<a name="l993"><span class="ln">993  </span></a>                    {
<a name="l994"><span class="ln">994  </span></a>                        field: <span class="s8">'sbbh'</span>,
<a name="l995"><span class="ln">995  </span></a>                        title: <span class="s8">'设备编码'</span>
<a name="l996"><span class="ln">996  </span></a>                    },
<a name="l997"><span class="ln">997  </span></a>                    {
<a name="l998"><span class="ln">998  </span></a>                        field: <span class="s8">'sbmc'</span>,
<a name="l999"><span class="ln">999  </span></a>                        title: <span class="s8">'设备名称'</span>
<a name="l1000"><span class="ln">1000 </span></a>                    },
<a name="l1001"><span class="ln">1001 </span></a>                    {
<a name="l1002"><span class="ln">1002 </span></a>                        field: <span class="s8">'guige'</span>,
<a name="l1003"><span class="ln">1003 </span></a>                        title: <span class="s8">'规格型号'</span>,
<a name="l1004"><span class="ln">1004 </span></a>                        <span class="s5">// sortable: true,</span>
<a name="l1005"><span class="ln">1005 </span></a>                    },
<a name="l1006"><span class="ln">1006 </span></a>                    {
<a name="l1007"><span class="ln">1007 </span></a>                        field: <span class="s8">'bm'</span>,
<a name="l1008"><span class="ln">1008 </span></a>                        title: <span class="s8">'部门'</span>
<a name="l1009"><span class="ln">1009 </span></a>                    },
<a name="l1010"><span class="ln">1010 </span></a>                    {
<a name="l1011"><span class="ln">1011 </span></a>                        field: <span class="s8">'shiyr'</span>,
<a name="l1012"><span class="ln">1012 </span></a>                        title: <span class="s8">'设备使用人'</span>
<a name="l1013"><span class="ln">1013 </span></a>                    },
<a name="l1014"><span class="ln">1014 </span></a>                    {
<a name="l1015"><span class="ln">1015 </span></a>                        field: <span class="s8">'bfbs'</span>,
<a name="l1016"><span class="ln">1016 </span></a>                        title: <span class="s8">'是否报废'</span>,
<a name="l1017"><span class="ln">1017 </span></a>                        align: <span class="s8">'center'</span>,
<a name="l1018"><span class="ln">1018 </span></a>                        formatter: <span class="s6">function </span>(value, row, index) {
<a name="l1019"><span class="ln">1019 </span></a>                            <span class="s6">return </span>statusTools(row);
<a name="l1020"><span class="ln">1020 </span></a>                        }
<a name="l1021"><span class="ln">1021 </span></a>                    },
<a name="l1022"><span class="ln">1022 </span></a>                    {
<a name="l1023"><span class="ln">1023 </span></a>                        title: <span class="s8">'操作'</span>,
<a name="l1024"><span class="ln">1024 </span></a>                        align: <span class="s8">'center'</span>,
<a name="l1025"><span class="ln">1025 </span></a>                        formatter: <span class="s6">function </span>(value, row, index) {
<a name="l1026"><span class="ln">1026 </span></a>                            <span class="s5">// var actions = [];</span>
<a name="l1027"><span class="ln">1027 </span></a>                            // actions.push('&lt;a class=&quot;btn btn-success btn-xs &quot; href=&quot;javascript:void(0)&quot; onclick=&quot;updatetjmtk(row.id)&quot; data-toggle=&quot;modal&quot; data-target=&quot;#myModal5&quot;&gt;&lt;i class=&quot;fa fa-edit&quot;&gt;&lt;/i&gt;编辑&lt;/a&gt; ');
<a name="l1028"><span class="ln">1028 </span></a>                            // actions.push('&lt;a class=&quot;btn btn-danger btn-xs &quot; href=&quot;javascript:void(0)&quot; onclick=&quot;$.operate.remove(\'' + row.id + '\')&quot;&gt;&lt;i class=&quot;fa fa-remove&quot;&gt;&lt;/i&gt;删除&lt;/a&gt; ');
<a name="l1029"><span class="ln">1029 </span></a>                            // // actions.push('&lt;a class=&quot;btn btn-info btn-xs &quot; href=&quot;javascript:void(0)&quot; onclick=&quot;resetPwd(\'' + row.userId + '\')&quot;&gt;&lt;i class=&quot;fa fa-key&quot;&gt;&lt;/i&gt;重置&lt;/a&gt;');
<a name="l1030"><span class="ln">1030 </span></a>                            // return actions.join('');
<a name="l1031"><span class="ln">1031 </span></a>                            <span class="s6">var </span>id = index;
<a name="l1032"><span class="ln">1032 </span></a>                            <span class="s6">var </span>data = JSON.stringify(row);
<a name="l1033"><span class="ln">1033 </span></a>                            <span class="s6">var </span>result = <span class="s8">&quot;&quot;</span>;
<a name="l1034"><span class="ln">1034 </span></a>                            <span class="s6">var </span>bfbs = (row.bfbs)
<a name="l1035"><span class="ln">1035 </span></a>                            <span class="s6">if </span>(bfbs == <span class="s8">&quot;1&quot;</span>) {
<a name="l1036"><span class="ln">1036 </span></a>                                result += <span class="s8">&quot;&lt;a href='javascript:;' class='btn btn-xs green' onclick=</span><span class="s6">\&quot;</span><span class="s8">webpageById('&quot; </span>+ row + <span class="s8">&quot;','&quot; </span>+ id + <span class="s8">&quot;')</span><span class="s6">\&quot; </span><span class="s8">title='查看'&gt;&lt;span class='glyphicon glyphicon-search'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l1037"><span class="ln">1037 </span></a>                                <span class="s6">return </span>result;
<a name="l1038"><span class="ln">1038 </span></a>                            } <span class="s6">else </span>{
<a name="l1039"><span class="ln">1039 </span></a>                                result += <span class="s8">&quot;&lt;a href='javascript:;' class='btn btn-xs green' onclick=</span><span class="s6">\&quot;</span><span class="s8">webpageById('&quot; </span>+ row + <span class="s8">&quot;','&quot; </span>+ id + <span class="s8">&quot;')</span><span class="s6">\&quot; </span><span class="s8">title='查看'&gt;&lt;span class='glyphicon glyphicon-search'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l1040"><span class="ln">1040 </span></a>                                result += <span class="s8">&quot;&lt;a href='javascript:;' class='btn btn-xs blue'  onclick=</span><span class="s6">\&quot;</span><span class="s8">EditViewById('&quot; </span>+ row + <span class="s8">&quot;','&quot; </span>+ id + <span class="s8">&quot;')</span><span class="s6">\&quot; </span><span class="s8">title='生成二维码'&gt;&lt;span class='glyphicon glyphicon-pencil'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l1041"><span class="ln">1041 </span></a>                                result += <span class="s8">&quot;&lt;a href='javascript:;' class='btn btn-xs red'   onclick=</span><span class="s6">\&quot;</span><span class="s8">DeleteByIds('&quot; </span>+ row + <span class="s8">&quot;','&quot; </span>+ id + <span class="s8">&quot;')</span><span class="s6">\&quot; </span><span class="s8">title='修改' id=''&gt;&lt;span class='glyphicon glyphicon-remove'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l1042"><span class="ln">1042 </span></a>                                console.log(result)
<a name="l1043"><span class="ln">1043 </span></a>                                <span class="s6">return </span>result;
<a name="l1044"><span class="ln">1044 </span></a>                            }
<a name="l1045"><span class="ln">1045 </span></a>                        }
<a name="l1046"><span class="ln">1046 </span></a>                    }]
<a name="l1047"><span class="ln">1047 </span></a>            })
<a name="l1048"><span class="ln">1048 </span></a>        }
<a name="l1049"><span class="ln">1049 </span></a>    });
<a name="l1050"><span class="ln">1050 </span></a>
<a name="l1051"><span class="ln">1051 </span></a>    <span class="s6">function  </span>dywhjl() {
<a name="l1052"><span class="ln">1052 </span></a>        window.location.href=<span class="s8">&quot;/whjldy&quot;</span>
<a name="l1053"><span class="ln">1053 </span></a>    }
<a name="l1054"><span class="ln">1054 </span></a>
<a name="l1055"><span class="ln">1055 </span></a>    <span class="s5">/* 用户状态显示 */</span>
<a name="l1056"><span class="ln">1056 </span></a>    <span class="s6">function </span>statusTools(row) {
<a name="l1057"><span class="ln">1057 </span></a>        <span class="s6">if </span>(row.bfbs == <span class="s9">1</span>) {
<a name="l1058"><span class="ln">1058 </span></a>            <span class="s6">return </span><span class="s8">'&lt;i class=</span><span class="s6">\&quot;</span><span class="s8">fa fa-toggle-on text-danger fa-2x</span><span class="s6">\&quot;</span><span class="s8">&gt;&lt;/i&gt; '</span>;
<a name="l1059"><span class="ln">1059 </span></a>        } <span class="s6">else </span>{
<a name="l1060"><span class="ln">1060 </span></a>            <span class="s6">return </span><span class="s8">'&lt;i class=</span><span class="s6">\&quot;</span><span class="s8">fa fa-toggle-off  text-muted fa-2x</span><span class="s6">\&quot;</span><span class="s8">&gt;&lt;/i&gt; '</span>;
<a name="l1061"><span class="ln">1061 </span></a>        }
<a name="l1062"><span class="ln">1062 </span></a>    }
<a name="l1063"><span class="ln">1063 </span></a>
<a name="l1064"><span class="ln">1064 </span></a>    <span class="s5">//查询按钮事件</span>
<a name="l1065"><span class="ln">1065 </span></a>    $(<span class="s8">'#search_btn'</span>).click(<span class="s6">function </span>() {
<a name="l1066"><span class="ln">1066 </span></a>        $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'refresh'</span>, {
<a name="l1067"><span class="ln">1067 </span></a>            url: <span class="s8">'/sbgl/sbxxb/getsblist/'</span>
<a name="l1068"><span class="ln">1068 </span></a>        });
<a name="l1069"><span class="ln">1069 </span></a>    });
<a name="l1070"><span class="ln">1070 </span></a>
<a name="l1071"><span class="ln">1071 </span></a>    <span class="s6">var </span>tj_qrcode = <span class="s6">new </span>QRCode(document.getElementById(<span class="s8">&quot;tj_qrcode&quot;</span>), {
<a name="l1072"><span class="ln">1072 </span></a>        width: <span class="s9">100</span>,
<a name="l1073"><span class="ln">1073 </span></a>        height: <span class="s9">100</span>
<a name="l1074"><span class="ln">1074 </span></a>    });
<a name="l1075"><span class="ln">1075 </span></a>
<a name="l1076"><span class="ln">1076 </span></a>    <span class="s6">function </span>makeqrcode() {
<a name="l1077"><span class="ln">1077 </span></a>        <span class="s6">var </span>elText = document.getElementById(<span class="s8">&quot;tj_text&quot;</span>);
<a name="l1078"><span class="ln">1078 </span></a>        tj_qrcode.makeCode(elText.value);
<a name="l1079"><span class="ln">1079 </span></a>    }
<a name="l1080"><span class="ln">1080 </span></a>
<a name="l1081"><span class="ln">1081 </span></a>    makeqrcode()
<a name="l1082"><span class="ln">1082 </span></a>
<a name="l1083"><span class="ln">1083 </span></a>    <span class="s6">function </span>sbbhsc() {
<a name="l1084"><span class="ln">1084 </span></a>        <span class="s6">var </span>sb = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).val();
<a name="l1085"><span class="ln">1085 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).text();
<a name="l1086"><span class="ln">1086 </span></a>        <span class="s6">var </span>sbbh = <span class="s8">&quot;&quot;</span>;
<a name="l1087"><span class="ln">1087 </span></a>        $.ajax({
<a name="l1088"><span class="ln">1088 </span></a>            url: <span class="s8">&quot;/sbgl/sbflb/maxbh/&quot; </span>+ sb,
<a name="l1089"><span class="ln">1089 </span></a>            type: <span class="s8">'GET'</span>,
<a name="l1090"><span class="ln">1090 </span></a>            async: <span class="s6">false</span>,
<a name="l1091"><span class="ln">1091 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1092"><span class="ln">1092 </span></a>                $(<span class="s8">&quot;#sbbh_id&quot;</span>).val(data);
<a name="l1093"><span class="ln">1093 </span></a>                $(<span class="s8">&quot;#sbmc_id&quot;</span>).val(sbmc);
<a name="l1094"><span class="ln">1094 </span></a>            },
<a name="l1095"><span class="ln">1095 </span></a>        })
<a name="l1096"><span class="ln">1096 </span></a>        $(<span class="s8">'#tj_text'</span>).val([[${url}]]+<span class="s8">'/sbgl/sbxxb/sbwh/' </span>+ $(<span class="s8">&quot;#sbbh_id&quot;</span>).val() + <span class="s8">'/'</span>);
<a name="l1097"><span class="ln">1097 </span></a>        makeqrcode();
<a name="l1098"><span class="ln">1098 </span></a>        <span class="s5">// var sbbh = obj.getAttribute(&quot;value&quot;);</span>
<a name="l1099"><span class="ln">1099 </span></a>        <span class="s6">var </span>tj_qrcode = document.getElementById(<span class="s8">&quot;tj_qrcode&quot;</span>).lastElementChild.outerHTML;
<a name="l1100"><span class="ln">1100 </span></a>        $(<span class="s8">&quot;#tj_qrcode_update_input_15&quot;</span>).val(tj_qrcode);
<a name="l1101"><span class="ln">1101 </span></a>    }
<a name="l1102"><span class="ln">1102 </span></a>
<a name="l1103"><span class="ln">1103 </span></a>    <span class="s5">//点击生成设备编号后的js</span>
<a name="l1104"><span class="ln">1104 </span></a>    $(<span class="s8">'#creat_sbbh_btn'</span>).click(<span class="s6">function </span>() {
<a name="l1105"><span class="ln">1105 </span></a>        <span class="s6">var </span>sb = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).val();
<a name="l1106"><span class="ln">1106 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).text();
<a name="l1107"><span class="ln">1107 </span></a>        <span class="s6">var </span>sbbh = <span class="s8">&quot;&quot;</span>;
<a name="l1108"><span class="ln">1108 </span></a>        $.ajax({
<a name="l1109"><span class="ln">1109 </span></a>            url: <span class="s8">&quot;/sbgl/sbflb/maxbh/&quot; </span>+ sb,
<a name="l1110"><span class="ln">1110 </span></a>            type: <span class="s8">'GET'</span>,
<a name="l1111"><span class="ln">1111 </span></a>            async: <span class="s6">false</span>,
<a name="l1112"><span class="ln">1112 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1113"><span class="ln">1113 </span></a>                $(<span class="s8">&quot;#sbbh_id&quot;</span>).val(data);
<a name="l1114"><span class="ln">1114 </span></a>                $(<span class="s8">&quot;#sbmc_id&quot;</span>).val(sbmc);
<a name="l1115"><span class="ln">1115 </span></a>            },
<a name="l1116"><span class="ln">1116 </span></a>        })
<a name="l1117"><span class="ln">1117 </span></a>        $(<span class="s8">'#tj_text'</span>).val([[${url}]]+<span class="s8">'/sbgl/sbxxb/sbwh/' </span>+ $(<span class="s8">&quot;#sbbh_id&quot;</span>).val() + <span class="s8">'/'</span>);
<a name="l1118"><span class="ln">1118 </span></a>        makeqrcode();
<a name="l1119"><span class="ln">1119 </span></a>        <span class="s5">// var sbbh = obj.getAttribute(&quot;value&quot;);</span>
<a name="l1120"><span class="ln">1120 </span></a>        <span class="s6">var </span>tj_qrcode = document.getElementById(<span class="s8">&quot;tj_qrcode&quot;</span>).lastElementChild.outerHTML;
<a name="l1121"><span class="ln">1121 </span></a>        $(<span class="s8">&quot;#tj_qrcode_update_input_15&quot;</span>).val(tj_qrcode);
<a name="l1122"><span class="ln">1122 </span></a>    });
<a name="l1123"><span class="ln">1123 </span></a>
<a name="l1124"><span class="ln">1124 </span></a>    $(<span class="s8">&quot;#button-open-4&quot;</span>).click(<span class="s6">function </span>() {
<a name="l1125"><span class="ln">1125 </span></a>        $.modal.open(<span class="s8">'添加用户'</span>, <span class="s8">&quot;/form&quot;</span>, <span class="s8">'900'</span>, <span class="s8">'500'</span>, callback);
<a name="l1126"><span class="ln">1126 </span></a>    })
<a name="l1127"><span class="ln">1127 </span></a>
<a name="l1128"><span class="ln">1128 </span></a>    <span class="s6">function </span>callback(index, layero) {
<a name="l1129"><span class="ln">1129 </span></a>        alert(<span class="s8">&quot;进入了回调函数提交方法&quot;</span>);
<a name="l1130"><span class="ln">1130 </span></a>        $.ajax({
<a name="l1131"><span class="ln">1131 </span></a>            url: <span class="s8">&quot;/nc/sysNc/insertspkfk&quot;</span>,
<a name="l1132"><span class="ln">1132 </span></a>            type: <span class="s8">'POST'</span>,
<a name="l1133"><span class="ln">1133 </span></a>            data: $(<span class="s8">&quot;#form-user-add form&quot;</span>).serialize(),
<a name="l1134"><span class="ln">1134 </span></a>            success: <span class="s6">function </span>(result) {
<a name="l1135"><span class="ln">1135 </span></a>                <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l1136"><span class="ln">1136 </span></a>                    alert(<span class="s8">&quot;添加商品成功！！！&quot;</span>);
<a name="l1137"><span class="ln">1137 </span></a>                }
<a name="l1138"><span class="ln">1138 </span></a>            }
<a name="l1139"><span class="ln">1139 </span></a>        });
<a name="l1140"><span class="ln">1140 </span></a>    }
<a name="l1141"><span class="ln">1141 </span></a>
<a name="l1142"><span class="ln">1142 </span></a>    <span class="s6">function </span>getIdSelections() {
<a name="l1143"><span class="ln">1143 </span></a>        <span class="s6">return </span>$.map($(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getSelections'</span>), <span class="s6">function </span>(row) {
<a name="l1144"><span class="ln">1144 </span></a>            <span class="s6">return </span>row.id
<a name="l1145"><span class="ln">1145 </span></a>        })
<a name="l1146"><span class="ln">1146 </span></a>    }
<a name="l1147"><span class="ln">1147 </span></a>
<a name="l1148"><span class="ln">1148 </span></a>    <span class="s6">function </span>getsbbhSelections() {
<a name="l1149"><span class="ln">1149 </span></a>        <span class="s6">return </span>$.map($(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getSelections'</span>), <span class="s6">function </span>(row) {
<a name="l1150"><span class="ln">1150 </span></a>            <span class="s6">return </span>row.sbbh
<a name="l1151"><span class="ln">1151 </span></a>        })
<a name="l1152"><span class="ln">1152 </span></a>    }
<a name="l1153"><span class="ln">1153 </span></a>
<a name="l1154"><span class="ln">1154 </span></a>    <span class="s5">//多个删除</span>
<a name="l1155"><span class="ln">1155 </span></a>    <span class="s6">function </span>remove() {
<a name="l1156"><span class="ln">1156 </span></a>        <span class="s6">var </span>ids = getIdSelections();
<a name="l1157"><span class="ln">1157 </span></a>        <span class="s6">var </span>wents = getwentSelections();
<a name="l1158"><span class="ln">1158 </span></a>        <span class="s6">if </span>(confirm(<span class="s8">&quot;确认删除【&quot; </span>+ wents + <span class="s8">&quot;】吗？？？&quot;</span>)) {
<a name="l1159"><span class="ln">1159 </span></a>            $.ajax({
<a name="l1160"><span class="ln">1160 </span></a>                url: <span class="s8">&quot;/nc/sysNc/deleteallspkfk/&quot; </span>+ ids,
<a name="l1161"><span class="ln">1161 </span></a>                type: <span class="s8">'DELETE'</span>,
<a name="l1162"><span class="ln">1162 </span></a>                success: <span class="s6">function </span>(result) {
<a name="l1163"><span class="ln">1163 </span></a>                    <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l1164"><span class="ln">1164 </span></a>                        alert(<span class="s8">&quot;删除成功！！！&quot;</span>);
<a name="l1165"><span class="ln">1165 </span></a>                        window.location.href = window.location.href;
<a name="l1166"><span class="ln">1166 </span></a>                    }
<a name="l1167"><span class="ln">1167 </span></a>                },
<a name="l1168"><span class="ln">1168 </span></a>            });
<a name="l1169"><span class="ln">1169 </span></a>        }
<a name="l1170"><span class="ln">1170 </span></a>    }
<a name="l1171"><span class="ln">1171 </span></a>
<a name="l1172"><span class="ln">1172 </span></a>    <span class="s6">function </span>responseHandler(res) {
<a name="l1173"><span class="ln">1173 </span></a>
<a name="l1174"><span class="ln">1174 </span></a>        $.each(res.rows, <span class="s6">function </span>(i, row) {
<a name="l1175"><span class="ln">1175 </span></a>            row.state = $.inArray(row.id, selections) !== -<span class="s9">1</span>
<a name="l1176"><span class="ln">1176 </span></a>        })
<a name="l1177"><span class="ln">1177 </span></a>        <span class="s6">return </span>res
<a name="l1178"><span class="ln">1178 </span></a>    }
<a name="l1179"><span class="ln">1179 </span></a>
<a name="l1180"><span class="ln">1180 </span></a>    <span class="s6">function </span>getshiyr() {
<a name="l1181"><span class="ln">1181 </span></a>        <span class="s6">var </span>shiyr = $(<span class="s8">&quot;#shiyr_id&quot;</span>).val();
<a name="l1182"><span class="ln">1182 </span></a>        <span class="s6">var </span>bm = $(<span class="s8">&quot;#bmid_id option:selected&quot;</span>).text();
<a name="l1183"><span class="ln">1183 </span></a>        <span class="s6">var </span>xinshiyr = <span class="s8">&quot;&quot;</span>
<a name="l1184"><span class="ln">1184 </span></a>        $.ajax({
<a name="l1185"><span class="ln">1185 </span></a>            url: <span class="s8">&quot;/sbgl/ygxxb/getbmbyshiyrandbm/&quot; </span>+ shiyr + <span class="s8">&quot;/&quot; </span>+ bm,
<a name="l1186"><span class="ln">1186 </span></a>            type: <span class="s8">&quot;get&quot;</span>,
<a name="l1187"><span class="ln">1187 </span></a>            async: <span class="s6">false</span>,
<a name="l1188"><span class="ln">1188 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1189"><span class="ln">1189 </span></a>                xinshiyr = data
<a name="l1190"><span class="ln">1190 </span></a>            }
<a name="l1191"><span class="ln">1191 </span></a>        })
<a name="l1192"><span class="ln">1192 </span></a>        <span class="s6">return </span>xinshiyr;
<a name="l1193"><span class="ln">1193 </span></a>    }
<a name="l1194"><span class="ln">1194 </span></a>
<a name="l1195"><span class="ln">1195 </span></a>    <span class="s6">function </span>queryParams(params) {
<a name="l1196"><span class="ln">1196 </span></a>        <span class="s6">var </span>param = {
<a name="l1197"><span class="ln">1197 </span></a>            limit: params.limit, <span class="s5">// 页面大小</span>
<a name="l1198"><span class="ln">1198 </span></a>            offset: params.offset, <span class="s5">// 页码</span>
<a name="l1199"><span class="ln">1199 </span></a>            nextPage: params.pageNumber,
<a name="l1200"><span class="ln">1200 </span></a>            pageNumber: params.pageNumber,
<a name="l1201"><span class="ln">1201 </span></a>            pageSize: params.pageSize,
<a name="l1202"><span class="ln">1202 </span></a>            sbbh: $(<span class="s8">&quot;#sbbh&quot;</span>).val(),
<a name="l1203"><span class="ln">1203 </span></a>            gsid: gsid,
<a name="l1204"><span class="ln">1204 </span></a>            bfbs: $(<span class="s8">&quot;#is_bf&quot;</span>).val(),
<a name="l1205"><span class="ln">1205 </span></a>
<a name="l1206"><span class="ln">1206 </span></a>        };
<a name="l1207"><span class="ln">1207 </span></a>        <span class="s6">return </span>param;
<a name="l1208"><span class="ln">1208 </span></a>    }
<a name="l1209"><span class="ln">1209 </span></a>
<a name="l1210"><span class="ln">1210 </span></a>    <span class="s6">function </span>detailFormatter(index, row) {
<a name="l1211"><span class="ln">1211 </span></a>        <span class="s6">var </span>html = []
<a name="l1212"><span class="ln">1212 </span></a>        $.each(row, <span class="s6">function </span>(key, value) {
<a name="l1213"><span class="ln">1213 </span></a>            html.push(<span class="s8">'&lt;p&gt;&lt;b&gt;' </span>+ key + <span class="s8">':&lt;/b&gt; ' </span>+ value + <span class="s8">'&lt;/p&gt;'</span>)
<a name="l1214"><span class="ln">1214 </span></a>        })
<a name="l1215"><span class="ln">1215 </span></a>        <span class="s6">return </span>html.join(<span class="s8">''</span>)
<a name="l1216"><span class="ln">1216 </span></a>    }
<a name="l1217"><span class="ln">1217 </span></a>
<a name="l1218"><span class="ln">1218 </span></a>    <span class="s6">function </span>yctable() {
<a name="l1219"><span class="ln">1219 </span></a>        $(<span class="s8">'#tbody_id'</span>).empty();
<a name="l1220"><span class="ln">1220 </span></a>        <span class="s5">// //隐藏的table,显示按设备名称，生成</span>
<a name="l1221"><span class="ln">1221 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">'#sbmc_sel option:selected'</span>).val()
<a name="l1222"><span class="ln">1222 </span></a>        <span class="s6">var </span>sbhz = $(<span class="s8">'#sbmc_sel option:selected'</span>).text()
<a name="l1223"><span class="ln">1223 </span></a>        <span class="s6">if </span>(sbhz.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0 </span>|| sbhz.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1224"><span class="ln">1224 </span></a>            document.getElementById(<span class="s8">&quot;yc_zbxh&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1225"><span class="ln">1225 </span></a>            document.getElementById(<span class="s8">&quot;yc_cpuxh&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1226"><span class="ln">1226 </span></a>            document.getElementById(<span class="s8">&quot;yc_ncdx&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1227"><span class="ln">1227 </span></a>            document.getElementById(<span class="s8">&quot;yc_ypdx&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1228"><span class="ln">1228 </span></a>            document.getElementById(<span class="s8">&quot;yc_xsqdx&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1229"><span class="ln">1229 </span></a>            document.getElementById(<span class="s8">&quot;yc_ipdz&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1230"><span class="ln">1230 </span></a>            document.getElementById(<span class="s8">&quot;yc_maxdz&quot;</span>).style.display=<span class="s8">&quot;&quot;</span>
<a name="l1231"><span class="ln">1231 </span></a>            $.ajax({
<a name="l1232"><span class="ln">1232 </span></a>                url: <span class="s8">&quot;/sbgl/sbxxb/getsbwh/&quot; </span>+ sbmc + <span class="s8">&quot;/&quot; </span>+ gsid,
<a name="l1233"><span class="ln">1233 </span></a>                type: <span class="s8">'GET'</span>,
<a name="l1234"><span class="ln">1234 </span></a>                success: <span class="s6">function </span>(data) {
<a name="l1235"><span class="ln">1235 </span></a>                    <span class="s5">// $('#tableid_sbtz').empty();</span>
<a name="l1236"><span class="ln">1236 </span></a>                    <span class="s6">var </span>tables = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1237"><span class="ln">1237 </span></a>                    <span class="s6">var </span>j = <span class="s9">0</span>;
<a name="l1238"><span class="ln">1238 </span></a>                    <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1239"><span class="ln">1239 </span></a>                        <span class="s6">var </span>ip=data[i].ipdz
<a name="l1240"><span class="ln">1240 </span></a>                        <span class="s6">if </span>(ip==<span class="s8">&quot;&quot;</span>){
<a name="l1241"><span class="ln">1241 </span></a>                            <span class="s6">var </span>ipdz=<span class="s8">&quot;&lt;td align='center' style='width: 5.8mm'&gt;&quot; </span>+ <span class="s8">'' </span>+ <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1242"><span class="ln">1242 </span></a>                        }<span class="s6">else </span>{
<a name="l1243"><span class="ln">1243 </span></a>                            <span class="s6">var </span>ipdz=<span class="s8">&quot;&lt;td align='center' style='width: 5.8mm'&gt;&quot; </span>+ data[i].ipdz.split(<span class="s8">'.'</span>)[<span class="s9">3</span>] + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1244"><span class="ln">1244 </span></a>                        }
<a name="l1245"><span class="ln">1245 </span></a>                        j = parseInt(i) + <span class="s9">1</span>;
<a name="l1246"><span class="ln">1246 </span></a>                        tables = <span class="s8">&quot;&lt;tr style='font-family: 微软雅黑;font-size: 9px;height: 30px'&gt;&quot;</span>
<a name="l1247"><span class="ln">1247 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 9.5mm;'&gt;&quot; </span>+ j + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1248"><span class="ln">1248 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 18mm;'&gt;&quot; </span>+ data[i].sbbh + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1249"><span class="ln">1249 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15.9mm;'&gt;&quot; </span>+ data[i].sbmc + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1250"><span class="ln">1250 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 19.3mm;'&gt;&quot; </span>+ data[i].guige + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1251"><span class="ln">1251 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 20mm;'&gt;&quot; </span>+ data[i].zbxh + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1252"><span class="ln">1252 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15mm;'&gt;&quot; </span>+ data[i].cpuxh + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1253"><span class="ln">1253 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 9.5mm;'&gt;&quot; </span>+ data[i].ncggdx + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1254"><span class="ln">1254 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 20.3mm;'&gt;&quot; </span>+ data[i].ypdx + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1255"><span class="ln">1255 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15.2mm;'&gt;&quot; </span>+ data[i].xsqppcc + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1256"><span class="ln">1256 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 9.5mm;'&gt;&quot; </span>+ data[i].dw + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1257"><span class="ln">1257 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 9.5mm;'&gt;&quot; </span>+ data[i].shul + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1258"><span class="ln">1258 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15.9mm;'&gt;&quot; </span>+ data[i].shccj + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1259"><span class="ln">1259 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 16.6mm;'&gt;&quot; </span>+ data[i].gmrq + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1260"><span class="ln">1260 </span></a>                            +(ipdz ? ipdz : <span class="s8">''</span>)
<a name="l1261"><span class="ln">1261 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 25.2mm;'&gt;&quot; </span>+ data[i].macdz + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1262"><span class="ln">1262 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 24mm;'&gt;&quot; </span>+ data[i].beiz + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1263"><span class="ln">1263 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15mm;'&gt;&quot; </span>+ data[i].bm + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1264"><span class="ln">1264 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 10mm;'&gt;&quot; </span>+ data[i].shiyr + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1265"><span class="ln">1265 </span></a>                            + <span class="s8">&quot;&lt;/tr&gt;&quot;</span>;
<a name="l1266"><span class="ln">1266 </span></a>                        $(<span class="s8">'#tableid_sbtz'</span>).append(tables);
<a name="l1267"><span class="ln">1267 </span></a>                    }
<a name="l1268"><span class="ln">1268 </span></a>                }
<a name="l1269"><span class="ln">1269 </span></a>            })
<a name="l1270"><span class="ln">1270 </span></a>        } <span class="s6">else if </span>(sbhz.indexOf(<span class="s8">&quot;电脑&quot;</span>) &lt; <span class="s9">0 </span>&amp;&amp; sbhz.indexOf(<span class="s8">&quot;务器&quot;</span>) &lt; <span class="s9">0</span>) {
<a name="l1271"><span class="ln">1271 </span></a>            document.getElementById(<span class="s8">&quot;yc_zbxh&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1272"><span class="ln">1272 </span></a>            document.getElementById(<span class="s8">&quot;yc_cpuxh&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1273"><span class="ln">1273 </span></a>            document.getElementById(<span class="s8">&quot;yc_ncdx&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1274"><span class="ln">1274 </span></a>            document.getElementById(<span class="s8">&quot;yc_ypdx&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1275"><span class="ln">1275 </span></a>            document.getElementById(<span class="s8">&quot;yc_xsqdx&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1276"><span class="ln">1276 </span></a>            document.getElementById(<span class="s8">&quot;yc_ipdz&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1277"><span class="ln">1277 </span></a>            document.getElementById(<span class="s8">&quot;yc_maxdz&quot;</span>).style.display=<span class="s8">&quot;none&quot;</span>
<a name="l1278"><span class="ln">1278 </span></a>            $.ajax({
<a name="l1279"><span class="ln">1279 </span></a>                url: <span class="s8">&quot;/sbgl/sbxxb/getsbwh/&quot; </span>+ sbmc + <span class="s8">&quot;/&quot; </span>+ gsid,
<a name="l1280"><span class="ln">1280 </span></a>                type: <span class="s8">'GET'</span>,
<a name="l1281"><span class="ln">1281 </span></a>                success: <span class="s6">function </span>(data) {
<a name="l1282"><span class="ln">1282 </span></a>                    <span class="s5">// $('#tableid_sbtz').empty();</span>
<a name="l1283"><span class="ln">1283 </span></a>                    <span class="s6">var </span>tables = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1284"><span class="ln">1284 </span></a>                    <span class="s6">var </span>j = <span class="s9">0</span>;
<a name="l1285"><span class="ln">1285 </span></a>                    <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1286"><span class="ln">1286 </span></a>                        j = parseInt(i) + <span class="s9">1</span>;
<a name="l1287"><span class="ln">1287 </span></a>                        tables = <span class="s8">&quot;&lt;tr style='font-family: 微软雅黑;font-size: 9px;height: 30px'&gt;&quot;</span>
<a name="l1288"><span class="ln">1288 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 10mm;'&gt;&quot; </span>+ j + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1289"><span class="ln">1289 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 25mm;'&gt;&quot; </span>+ data[i].sbbh + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1290"><span class="ln">1290 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 24mm;'&gt;&quot; </span>+ data[i].sbmc + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1291"><span class="ln">1291 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 50mm;'&gt;&quot; </span>+ data[i].guige + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1292"><span class="ln">1292 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15mm'&gt;&quot; </span>+ data[i].dw + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1293"><span class="ln">1293 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 15mm'&gt;&quot; </span>+ data[i].shul + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1294"><span class="ln">1294 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 25mm'&gt;&quot; </span>+ data[i].shccj + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1295"><span class="ln">1295 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 26mm'&gt;&quot; </span>+ data[i].gmrq + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1296"><span class="ln">1296 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 50mm'&gt;&quot; </span>+ data[i].beiz + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1297"><span class="ln">1297 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 22mm;'&gt;&quot; </span>+ data[i].bm + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1298"><span class="ln">1298 </span></a>                            + <span class="s8">&quot;&lt;td align='center' style='width: 18mm'&gt;&quot; </span>+ data[i].shiyr + <span class="s8">&quot;&lt;/td&gt;&quot;</span>
<a name="l1299"><span class="ln">1299 </span></a>                            + <span class="s8">&quot;&lt;/tr&gt;&quot;</span>;
<a name="l1300"><span class="ln">1300 </span></a>                        $(<span class="s8">'#tableid_sbtz'</span>).append(tables);
<a name="l1301"><span class="ln">1301 </span></a>                    }
<a name="l1302"><span class="ln">1302 </span></a>                }
<a name="l1303"><span class="ln">1303 </span></a>            })
<a name="l1304"><span class="ln">1304 </span></a>         }
<a name="l1305"><span class="ln">1305 </span></a>    }
<a name="l1306"><span class="ln">1306 </span></a>
<a name="l1307"><span class="ln">1307 </span></a>    <span class="s5">//打印设备台账开始</span>
<a name="l1308"><span class="ln">1308 </span></a>    <span class="s6">function </span>Mysbtz() {
<a name="l1309"><span class="ln">1309 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">'#sbmc_sel option:selected'</span>).val()
<a name="l1310"><span class="ln">1310 </span></a>        <span class="s6">if </span>(sbmc==<span class="s8">&quot;GASB-&quot;</span>) {
<a name="l1311"><span class="ln">1311 </span></a>            alert(<span class="s8">&quot;请选择打印台账的设备类型&quot;</span>)
<a name="l1312"><span class="ln">1312 </span></a>        }<span class="s6">else </span>{
<a name="l1313"><span class="ln">1313 </span></a>            <span class="s6">var </span>options = $(<span class="s8">'#divid_sbtz'</span>).html();
<a name="l1314"><span class="ln">1314 </span></a>            LODOP = getLodop();
<a name="l1315"><span class="ln">1315 </span></a>            LODOP.PRINT_INIT(<span class="s8">&quot;&quot;</span>);
<a name="l1316"><span class="ln">1316 </span></a>            LODOP.ADD_PRINT_TEXT(<span class="s9">15</span>, <span class="s9">300</span>, <span class="s9">250</span>, <span class="s9">30</span>, <span class="s8">&quot;计算机设施设备管理台帐&quot;</span>);
<a name="l1317"><span class="ln">1317 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;FontSize&quot;</span>, <span class="s9">15</span>);
<a name="l1318"><span class="ln">1318 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;bold&quot;</span>, <span class="s9">1</span>);
<a name="l1319"><span class="ln">1319 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;ItemType&quot;</span>, <span class="s9">1</span>);
<a name="l1320"><span class="ln">1320 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;Horient&quot;</span>, <span class="s9">2</span>);
<a name="l1321"><span class="ln">1321 </span></a>
<a name="l1322"><span class="ln">1322 </span></a>            LODOP.ADD_PRINT_TEXT(<span class="s9">38</span>, <span class="s9">650</span>, <span class="s9">180</span>, <span class="s9">21</span>, <span class="s8">&quot;HWGA-QR-115-2017-01&quot;</span>);
<a name="l1323"><span class="ln">1323 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;FontSize&quot;</span>, <span class="s9">10</span>);
<a name="l1324"><span class="ln">1324 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;ItemType&quot;</span>, <span class="s9">1</span>);
<a name="l1325"><span class="ln">1325 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;Horient&quot;</span>, <span class="s9">1</span>);
<a name="l1326"><span class="ln">1326 </span></a>            LODOP.SET_PRINT_STYLEA(<span class="s9">0</span>, <span class="s8">&quot;bold&quot;</span>, <span class="s9">1</span>);
<a name="l1327"><span class="ln">1327 </span></a>            LODOP.ADD_PRINT_TABLE(<span class="s9">55</span>, <span class="s9">5</span>, <span class="s9">2970</span>, <span class="s9">2100</span>, options);
<a name="l1328"><span class="ln">1328 </span></a>            LODOP.PREVIEW();
<a name="l1329"><span class="ln">1329 </span></a>        }
<a name="l1330"><span class="ln">1330 </span></a>    };
<a name="l1331"><span class="ln">1331 </span></a>
<a name="l1332"><span class="ln">1332 </span></a>    <span class="s6">function </span>cxsysj() {
<a name="l1333"><span class="ln">1333 </span></a>        alert(<span class="s8">&quot;执行了&quot;</span>);
<a name="l1334"><span class="ln">1334 </span></a>    }
<a name="l1335"><span class="ln">1335 </span></a>
<a name="l1336"><span class="ln">1336 </span></a>    <span class="s5">//打印设备台账结束</span>
<a name="l1337"><span class="ln">1337 </span></a>
<a name="l1338"><span class="ln">1338 </span></a>    <span class="s6">function </span>webpageById(row, index) {
<a name="l1339"><span class="ln">1339 </span></a>        <span class="s6">var </span>data = JSON.stringify($(<span class="s8">&quot;#bootstrap-table&quot;</span>).bootstrapTable(<span class="s8">'getData'</span>));
<a name="l1340"><span class="ln">1340 </span></a>        <span class="s6">var </span>data_json = JSON.parse(data);
<a name="l1341"><span class="ln">1341 </span></a>        window.location.href = <span class="s8">&quot;/sbgl/sbxxb/sbwh/&quot; </span>+ data_json[index].sbbh + <span class="s8">'/'</span>;
<a name="l1342"><span class="ln">1342 </span></a>    }
<a name="l1343"><span class="ln">1343 </span></a>
<a name="l1344"><span class="ln">1344 </span></a>    <span class="s6">function </span>updatesb() {
<a name="l1345"><span class="ln">1345 </span></a>        <span class="s6">var </span>sbbh = $(<span class="s8">'#sbbh_update'</span>).val()
<a name="l1346"><span class="ln">1346 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">'#sbmc_update'</span>).val()
<a name="l1347"><span class="ln">1347 </span></a>        <span class="s6">var </span>ipdz1 = $(<span class="s8">&quot;#ipdz1_update&quot;</span>).val()
<a name="l1348"><span class="ln">1348 </span></a>        <span class="s6">var </span>ipdz2 = $(<span class="s8">&quot;#ipdz2_update&quot;</span>).val()
<a name="l1349"><span class="ln">1349 </span></a>        <span class="s6">var </span>ipdz3 = $(<span class="s8">&quot;#ipdz3_update&quot;</span>).val()
<a name="l1350"><span class="ln">1350 </span></a>        <span class="s6">var </span>ipdz4 = $(<span class="s8">&quot;#ipdz4_update&quot;</span>).val()
<a name="l1351"><span class="ln">1351 </span></a>        <span class="s6">var </span>macdz1 = $(<span class="s8">&quot;.mac1update&quot;</span>).val()
<a name="l1352"><span class="ln">1352 </span></a>        <span class="s6">var </span>macdz2 = $(<span class="s8">&quot;.mac2update&quot;</span>).val()
<a name="l1353"><span class="ln">1353 </span></a>        <span class="s6">var </span>macdz3 = $(<span class="s8">&quot;.mac3update&quot;</span>).val()
<a name="l1354"><span class="ln">1354 </span></a>        <span class="s6">var </span>macdz4 = $(<span class="s8">&quot;.mac4update&quot;</span>).val()
<a name="l1355"><span class="ln">1355 </span></a>        <span class="s6">var </span>macdz5 = $(<span class="s8">&quot;.mac5update&quot;</span>).val()
<a name="l1356"><span class="ln">1356 </span></a>        <span class="s6">var </span>macdz6 = $(<span class="s8">&quot;.mac6update&quot;</span>).val()
<a name="l1357"><span class="ln">1357 </span></a>        <span class="s6">if </span>(sbmc.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0 </span>|| sbmc.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1358"><span class="ln">1358 </span></a>            <span class="s6">if </span>(ipdz1 == <span class="s8">&quot;&quot; </span>|| ipdz2 == <span class="s8">&quot;&quot; </span>|| ipdz3 == <span class="s8">&quot;&quot; </span>|| ipdz4 == <span class="s8">&quot;&quot;</span>) {
<a name="l1359"><span class="ln">1359 </span></a>                alert(<span class="s8">&quot;IP地址错误，请检查&quot;</span>)
<a name="l1360"><span class="ln">1360 </span></a>            } <span class="s6">else if </span>(macdz1.length != <span class="s9">2 </span>|| macdz2.length != <span class="s9">2 </span>|| macdz3.length != <span class="s9">2 </span>|| macdz4.length != <span class="s9">2 </span>|| macdz5.length != <span class="s9">2 </span>|| macdz6.length != <span class="s9">2</span>) {
<a name="l1361"><span class="ln">1361 </span></a>                alert(<span class="s8">&quot;MAC地址错误，请检查&quot;</span>)
<a name="l1362"><span class="ln">1362 </span></a>            }<span class="s6">else </span>{
<a name="l1363"><span class="ln">1363 </span></a>                $.ajax({
<a name="l1364"><span class="ln">1364 </span></a>                    url: <span class="s8">&quot;/sbgl/sbxxb/updatesb/&quot; </span>+ sbbh,
<a name="l1365"><span class="ln">1365 </span></a>                    type: <span class="s8">&quot;put&quot;</span>,
<a name="l1366"><span class="ln">1366 </span></a>                    async: <span class="s6">false</span>,
<a name="l1367"><span class="ln">1367 </span></a>                    data: $(<span class="s8">&quot;#sbupdateModal form&quot;</span>).serialize(),
<a name="l1368"><span class="ln">1368 </span></a>                    success: <span class="s6">function </span>(data) {
<a name="l1369"><span class="ln">1369 </span></a>                        alert(<span class="s8">&quot;设备表更新成功&quot;</span>)
<a name="l1370"><span class="ln">1370 </span></a>                        $(<span class="s8">&quot;#sbupdateModal&quot;</span>).modal(<span class="s8">'hide'</span>);
<a name="l1371"><span class="ln">1371 </span></a>                        <span class="s5">//获取每页显示的数量</span>
<a name="l1372"><span class="ln">1372 </span></a>                        refresh()
<a name="l1373"><span class="ln">1373 </span></a>                    }
<a name="l1374"><span class="ln">1374 </span></a>                })
<a name="l1375"><span class="ln">1375 </span></a>            }
<a name="l1376"><span class="ln">1376 </span></a>        } <span class="s6">else </span>{
<a name="l1377"><span class="ln">1377 </span></a>            $.ajax({
<a name="l1378"><span class="ln">1378 </span></a>                url: <span class="s8">&quot;/sbgl/sbxxb/updatesb/&quot; </span>+ sbbh,
<a name="l1379"><span class="ln">1379 </span></a>                type: <span class="s8">&quot;put&quot;</span>,
<a name="l1380"><span class="ln">1380 </span></a>                async: <span class="s6">false</span>,
<a name="l1381"><span class="ln">1381 </span></a>                data: $(<span class="s8">&quot;#sbupdateModal form&quot;</span>).serialize(),
<a name="l1382"><span class="ln">1382 </span></a>                success: <span class="s6">function </span>(data) {
<a name="l1383"><span class="ln">1383 </span></a>                    alert(<span class="s8">&quot;设备表更新成功&quot;</span>)
<a name="l1384"><span class="ln">1384 </span></a>                    $(<span class="s8">&quot;#sbupdateModal&quot;</span>).modal(<span class="s8">'hide'</span>);
<a name="l1385"><span class="ln">1385 </span></a>                    refresh()
<a name="l1386"><span class="ln">1386 </span></a>                }
<a name="l1387"><span class="ln">1387 </span></a>            })
<a name="l1388"><span class="ln">1388 </span></a>        }
<a name="l1389"><span class="ln">1389 </span></a>    }
<a name="l1390"><span class="ln">1390 </span></a>
<a name="l1391"><span class="ln">1391 </span></a>    <span class="s6">function </span>refresh() {
<a name="l1392"><span class="ln">1392 </span></a>        <span class="s6">var </span>pageSize = $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getOptions'</span>).pageSize;
<a name="l1393"><span class="ln">1393 </span></a>        <span class="s5">//获取当前是第几页</span>
<a name="l1394"><span class="ln">1394 </span></a>        <span class="s6">var </span>pageNumber = $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getOptions'</span>).pageNumber;
<a name="l1395"><span class="ln">1395 </span></a>        $(<span class="s8">&quot;#_pageNumber&quot;</span>).val(pageNumber)
<a name="l1396"><span class="ln">1396 </span></a>        $(<span class="s8">&quot;#_pageSize&quot;</span>).val(pageSize)
<a name="l1397"><span class="ln">1397 </span></a>        $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'refresh'</span>, {
<a name="l1398"><span class="ln">1398 </span></a>            pageNumber:pageNumber,
<a name="l1399"><span class="ln">1399 </span></a>            pageSize:pageSize
<a name="l1400"><span class="ln">1400 </span></a>        });
<a name="l1401"><span class="ln">1401 </span></a>    }
<a name="l1402"><span class="ln">1402 </span></a>    <span class="s5">// 清除第二次打开模态框显示上次打开的记录</span>
<a name="l1403"><span class="ln">1403 </span></a>    $(<span class="s8">'#sbupdateModal'</span>).on(<span class="s8">'hide.bs.modal'</span>, <span class="s6">function </span>() {
<a name="l1404"><span class="ln">1404 </span></a>        $(<span class="s8">'#sbupdateModal input'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1405"><span class="ln">1405 </span></a>        $(<span class="s8">'#sbupdateModal input'</span>).removeAttr(<span class="s8">&quot;readonly&quot;</span>)
<a name="l1406"><span class="ln">1406 </span></a>        <span class="s6">var </span>list = document.getElementById(<span class="s8">'form-sb-update'</span>)
<a name="l1407"><span class="ln">1407 </span></a>        <span class="s5">//设置文字的颜色</span>
<a name="l1408"><span class="ln">1408 </span></a>        // list.style.cssText=&quot;color:green&quot;
<a name="l1409"><span class="ln">1409 </span></a>    })
<a name="l1410"><span class="ln">1410 </span></a>
<a name="l1411"><span class="ln">1411 </span></a>
<a name="l1412"><span class="ln">1412 </span></a>    <span class="s6">function </span>DeleteByIds(row, index) {
<a name="l1413"><span class="ln">1413 </span></a>        <span class="s6">var </span>data = JSON.stringify($(<span class="s8">&quot;#bootstrap-table&quot;</span>).bootstrapTable(<span class="s8">'getData'</span>));
<a name="l1414"><span class="ln">1414 </span></a>        <span class="s6">var </span>data_json = JSON.parse(data);
<a name="l1415"><span class="ln">1415 </span></a>        <span class="s6">if </span>(<span class="s9">/(iPhone|iPad|iPod|iOS|Android)/i</span>.test(navigator.userAgent)) { <span class="s5">//移动端</span>
<a name="l1416"><span class="ln">1416 </span></a>            $.ajax({
<a name="l1417"><span class="ln">1417 </span></a>                url: <span class="s8">&quot;/sbgl/sbxxb/xiu/&quot; </span>+ data_json[index].id,
<a name="l1418"><span class="ln">1418 </span></a>                type: <span class="s8">'GET'</span>,
<a name="l1419"><span class="ln">1419 </span></a>                async: <span class="s6">false</span>,
<a name="l1420"><span class="ln">1420 </span></a>                success: <span class="s6">function </span>(data) {
<a name="l1421"><span class="ln">1421 </span></a>                    window.location.href=<span class="s8">&quot;/xiugai&quot;</span>
<a name="l1422"><span class="ln">1422 </span></a>                },
<a name="l1423"><span class="ln">1423 </span></a>            })
<a name="l1424"><span class="ln">1424 </span></a>        }<span class="s6">else </span>{
<a name="l1425"><span class="ln">1425 </span></a>            $(<span class="s8">&quot;#sbupdateModal&quot;</span>).modal({
<a name="l1426"><span class="ln">1426 </span></a>            backdrop: <span class="s8">&quot;static&quot;</span>
<a name="l1427"><span class="ln">1427 </span></a>            });
<a name="l1428"><span class="ln">1428 </span></a>            getDepts(<span class="s8">&quot;#sbupdateModal select&quot;</span>);
<a name="l1429"><span class="ln">1429 </span></a>        $(<span class="s8">'#gsid_update'</span>).val(data_json[index].gsid)
<a name="l1430"><span class="ln">1430 </span></a>        $(<span class="s8">'#gsid_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1431"><span class="ln">1431 </span></a>        $(<span class="s8">'#sbmc_update'</span>).val(data_json[index].sbmc)
<a name="l1432"><span class="ln">1432 </span></a>        $(<span class="s8">'#sbmc_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1433"><span class="ln">1433 </span></a>        $(<span class="s8">'#sbbh_update'</span>).val(data_json[index].sbbh)
<a name="l1434"><span class="ln">1434 </span></a>        $(<span class="s8">'#sbbh_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1435"><span class="ln">1435 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">'#sbmc_update'</span>).val();
<a name="l1436"><span class="ln">1436 </span></a>        <span class="s5">// var list = document.getElementById('form-sb-update')</span>
<a name="l1437"><span class="ln">1437 </span></a>        // //设置文字的颜色
<a name="l1438"><span class="ln">1438 </span></a>        // list.style.cssText=&quot;color:green&quot;
<a name="l1439"><span class="ln">1439 </span></a>
<a name="l1440"><span class="ln">1440 </span></a>        document.getElementById(<span class="s8">'guige_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1441"><span class="ln">1441 </span></a>        document.getElementById(<span class="s8">'shccj_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1442"><span class="ln">1442 </span></a>        document.getElementById(<span class="s8">'zbxh_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1443"><span class="ln">1443 </span></a>        document.getElementById(<span class="s8">'cpuxh_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1444"><span class="ln">1444 </span></a>        document.getElementById(<span class="s8">'ncggdx_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1445"><span class="ln">1445 </span></a>        document.getElementById(<span class="s8">'ypdx_update_1'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1446"><span class="ln">1446 </span></a>        document.getElementById(<span class="s8">'ypdx_update_2'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1447"><span class="ln">1447 </span></a>        document.getElementById(<span class="s8">'ypdx_update_3'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1448"><span class="ln">1448 </span></a>        document.getElementById(<span class="s8">'xsqppcc_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1449"><span class="ln">1449 </span></a>        document.getElementById(<span class="s8">'gmrq_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1450"><span class="ln">1450 </span></a>        document.getElementById(<span class="s8">'ipdz_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1451"><span class="ln">1451 </span></a>        document.getElementById(<span class="s8">'macdz_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1452"><span class="ln">1452 </span></a>        document.getElementById(<span class="s8">'bmid_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1453"><span class="ln">1453 </span></a>        document.getElementById(<span class="s8">'shiyr_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1454"><span class="ln">1454 </span></a>        document.getElementById(<span class="s8">'beiz_update'</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>
<a name="l1455"><span class="ln">1455 </span></a>        document.getElementById(<span class="s8">&quot;ypdx1lab&quot;</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>;
<a name="l1456"><span class="ln">1456 </span></a>        document.getElementById(<span class="s8">&quot;ypdx2lab&quot;</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>;
<a name="l1457"><span class="ln">1457 </span></a>        document.getElementById(<span class="s8">&quot;ypdx3lab&quot;</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>;
<a name="l1458"><span class="ln">1458 </span></a>        document.getElementById(<span class="s8">&quot;xkxh_update&quot;</span>).style.color = <span class="s8">&quot;#676a6c&quot;</span>;
<a name="l1459"><span class="ln">1459 </span></a>        <span class="s6">if </span>(sbmc.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0 </span>|| sbmc.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1460"><span class="ln">1460 </span></a>            $(<span class="s8">'#guige_update'</span>).val(data_json[index].guige)
<a name="l1461"><span class="ln">1461 </span></a>            $(<span class="s8">'#shccj_update'</span>).val(data_json[index].shccj)
<a name="l1462"><span class="ln">1462 </span></a>            $(<span class="s8">'#zbxh_update'</span>).val(data_json[index].zbxh)
<a name="l1463"><span class="ln">1463 </span></a>            $(<span class="s8">'#cpuxh_update'</span>).val(data_json[index].cpuxh)
<a name="l1464"><span class="ln">1464 </span></a>            <span class="s6">var </span>ncggdx = data_json[index].ncggdx.split(<span class="s8">&quot; &quot;</span>)
<a name="l1465"><span class="ln">1465 </span></a>            $(<span class="s8">'#ncggdx_update'</span>).val(ncggdx[<span class="s9">0</span>])
<a name="l1466"><span class="ln">1466 </span></a>            <span class="s6">var </span>ypdx = data_json[index].ypdx.split(<span class="s8">&quot;+&quot;</span>)
<a name="l1467"><span class="ln">1467 </span></a>            $(<span class="s8">'#ypdx_update_1'</span>).val(ypdx[<span class="s9">0</span>])
<a name="l1468"><span class="ln">1468 </span></a>            $(<span class="s8">'#ypdx_update_2'</span>).val(ypdx[<span class="s9">1</span>])
<a name="l1469"><span class="ln">1469 </span></a>            $(<span class="s8">'#ypdx_update_3'</span>).val(ypdx[<span class="s9">2</span>])
<a name="l1470"><span class="ln">1470 </span></a>            $(<span class="s8">'#xsqppcc_update'</span>).val(data_json[index].xsqppcc)
<a name="l1471"><span class="ln">1471 </span></a>            $(<span class="s8">'#xkxh_update'</span>).val(data_json[index].xkxh)
<a name="l1472"><span class="ln">1472 </span></a>            $(<span class="s8">'#gmrq_update'</span>).val(data_json[index].gmrq)
<a name="l1473"><span class="ln">1473 </span></a>            $(<span class="s8">'#ipdz_update'</span>).val(data_json[index].ipdz)
<a name="l1474"><span class="ln">1474 </span></a>            <span class="s6">var </span>ipslit = data_json[index].ipdz.split(<span class="s8">&quot;.&quot;</span>)
<a name="l1475"><span class="ln">1475 </span></a>            $(<span class="s8">'#ipdz_update &gt;.ip1'</span>).val(ipslit[<span class="s9">0</span>])
<a name="l1476"><span class="ln">1476 </span></a>            $(<span class="s8">'#ipdz_update &gt;.ip2'</span>).val(ipslit[<span class="s9">1</span>])
<a name="l1477"><span class="ln">1477 </span></a>            $(<span class="s8">'#ipdz_update &gt;.ip3'</span>).val(ipslit[<span class="s9">2</span>])
<a name="l1478"><span class="ln">1478 </span></a>            $(<span class="s8">'#ipdz_update &gt;.ip4'</span>).val(ipslit[<span class="s9">3</span>])
<a name="l1479"><span class="ln">1479 </span></a>            $(<span class="s8">'#ipupdate'</span>).val(data_json[index].ipdz)
<a name="l1480"><span class="ln">1480 </span></a>            $(<span class="s8">'#macdz_update'</span>).val(data_json[index].macdz)
<a name="l1481"><span class="ln">1481 </span></a>            <span class="s6">var </span>macsplit = data_json[index].macdz.split(<span class="s8">&quot;-&quot;</span>)
<a name="l1482"><span class="ln">1482 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac1update'</span>).val(macsplit[<span class="s9">0</span>])
<a name="l1483"><span class="ln">1483 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac2update'</span>).val(macsplit[<span class="s9">1</span>])
<a name="l1484"><span class="ln">1484 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac3update'</span>).val(macsplit[<span class="s9">2</span>])
<a name="l1485"><span class="ln">1485 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac4update'</span>).val(macsplit[<span class="s9">3</span>])
<a name="l1486"><span class="ln">1486 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac5update'</span>).val(macsplit[<span class="s9">4</span>])
<a name="l1487"><span class="ln">1487 </span></a>            $(<span class="s8">'#macdz_update &gt;.mac6update'</span>).val(macsplit[<span class="s9">5</span>])
<a name="l1488"><span class="ln">1488 </span></a>            $(<span class="s8">'#macupdate'</span>).val(data_json[index].macdz)
<a name="l1489"><span class="ln">1489 </span></a>            $(<span class="s8">'#bmid_update'</span>).val(data_json[index].bm)
<a name="l1490"><span class="ln">1490 </span></a>            $(<span class="s8">'#shiyr_update'</span>).val(data_json[index].shiyr)
<a name="l1491"><span class="ln">1491 </span></a>            $(<span class="s8">'#beiz_update'</span>).val(data_json[index].beiz)
<a name="l1492"><span class="ln">1492 </span></a>        } <span class="s6">else </span>{
<a name="l1493"><span class="ln">1493 </span></a>            $(<span class="s8">'#guige_update'</span>).val(data_json[index].guige)
<a name="l1494"><span class="ln">1494 </span></a>            $(<span class="s8">'#shccj_update'</span>).val(data_json[index].shccj)
<a name="l1495"><span class="ln">1495 </span></a>            $(<span class="s8">'#gmrq_update'</span>).val(data_json[index].gmrq)
<a name="l1496"><span class="ln">1496 </span></a>            $(<span class="s8">'#bmid_update'</span>).val(data_json[index].bm)
<a name="l1497"><span class="ln">1497 </span></a>            $(<span class="s8">'#shiyr_update'</span>).val(data_json[index].shiyr)
<a name="l1498"><span class="ln">1498 </span></a>            $(<span class="s8">'#beiz_update'</span>).val(data_json[index].beiz)
<a name="l1499"><span class="ln">1499 </span></a>            $(<span class="s8">'#zbxh_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1500"><span class="ln">1500 </span></a>            $(<span class="s8">'#cpuxh_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1501"><span class="ln">1501 </span></a>            $(<span class="s8">'#ncggdx_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1502"><span class="ln">1502 </span></a>            $(<span class="s8">'#xkxh_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1503"><span class="ln">1503 </span></a>            $(<span class="s8">'#ypdx_update_1'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1504"><span class="ln">1504 </span></a>            $(<span class="s8">'#ypdx_update_2'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1505"><span class="ln">1505 </span></a>            $(<span class="s8">'#ypdx_update_3'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1506"><span class="ln">1506 </span></a>            $(<span class="s8">'#xsqppcc_update'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1507"><span class="ln">1507 </span></a>            $(<span class="s8">'#ipdz_update input'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1508"><span class="ln">1508 </span></a>            $(<span class="s8">'#macdz_update input'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l1509"><span class="ln">1509 </span></a>        }
<a name="l1510"><span class="ln">1510 </span></a>    }
<a name="l1511"><span class="ln">1511 </span></a>    }
<a name="l1512"><span class="ln">1512 </span></a>    <span class="s6">var </span>qrcode = <span class="s6">new </span>QRCode(document.getElementById(<span class="s8">&quot;qrcode&quot;</span>), {
<a name="l1513"><span class="ln">1513 </span></a>        width: <span class="s9">100</span>,
<a name="l1514"><span class="ln">1514 </span></a>        height: <span class="s9">100</span>
<a name="l1515"><span class="ln">1515 </span></a>    });
<a name="l1516"><span class="ln">1516 </span></a>
<a name="l1517"><span class="ln">1517 </span></a>    <span class="s5">//生成二维码js开始</span>
<a name="l1518"><span class="ln">1518 </span></a>    <span class="s6">function </span>EditViewById(row, index) {
<a name="l1519"><span class="ln">1519 </span></a>        <span class="s5">//$('.edittosummernote').summernote('destroy');</span>
<a name="l1520"><span class="ln">1520 </span></a>        <span class="s6">var </span>data = JSON.stringify($(<span class="s8">&quot;#bootstrap-table&quot;</span>).bootstrapTable(<span class="s8">'getData'</span>)); <span class="s5">//获取全部数据</span>
<a name="l1521"><span class="ln">1521 </span></a>        <span class="s6">var </span>data_json = JSON.parse(data); <span class="s5">//data_json和data_json2一样都是json对象</span>
<a name="l1522"><span class="ln">1522 </span></a>        <span class="s6">var </span>data_json2 = eval(<span class="s8">&quot;(&quot; </span>+ data + <span class="s8">&quot;)&quot;</span>);
<a name="l1523"><span class="ln">1523 </span></a>        $(<span class="s8">'#text'</span>).val([[${url}]]+<span class="s8">'/sbgl/sbxxb/sbwh/' </span>+ data_json[index].sbbh + <span class="s8">'/'</span>);
<a name="l1524"><span class="ln">1524 </span></a>        <span class="s5">// //由于data2已经是对象了，alert不能显示对象只能显示为[object Object],需要控制台打印</span>
<a name="l1525"><span class="ln">1525 </span></a>        // //根据index找到对应行数据，填充数据到修改模态框
<a name="l1526"><span class="ln">1526 </span></a>        // $(&quot;#id_update_static_15&quot;).val(data_json[index].id);
<a name="l1527"><span class="ln">1527 </span></a>        // $(&quot;#mkmc_update_input_15&quot;).val(data_json[index].mkmc);
<a name="l1528"><span class="ln">1528 </span></a>        // $(&quot;#went_update_input_15&quot;).val(data_json[index].went);
<a name="l1529"><span class="ln">1529 </span></a>        // $(&quot;#yuany_update_input_15&quot;).val(data_json[index].yuany);
<a name="l1530"><span class="ln">1530 </span></a>        // // $(&quot;#jjbz_update_input_15&quot;).val(data_json[index].jjbz);
<a name="l1531"><span class="ln">1531 </span></a>        //
<a name="l1532"><span class="ln">1532 </span></a>        // $('.edittosummernote').html($(&quot;.edittosummernote&quot;).val(data_json[index].jjbz).val());
<a name="l1533"><span class="ln">1533 </span></a>        // $('.edittosummernote').summernote({focus: true});
<a name="l1534"><span class="ln">1534 </span></a>        // $(&quot;#emp_update_btn&quot;).val(data_json[index].id);
<a name="l1535"><span class="ln">1535 </span></a>        // //弹出修改模态框，非新增模态框
<a name="l1536"><span class="ln">1536 </span></a>        // $('#myModal5').modal('show')
<a name="l1537"><span class="ln">1537 </span></a>
<a name="l1538"><span class="ln">1538 </span></a>        // $('.edittosummernote').html($('#text').val('http://localhost:9090/nc/sbxxb/sbxx/' + data_json[index].sbbh));
<a name="l1539"><span class="ln">1539 </span></a>        // $('.edittosummernote').summernote({好，那我们来我看下啊，55 15 15。那我想问一下。是？
<a name="l1540"><span class="ln">1540 </span></a>        //     callbacks: {
<a name="l1541"><span class="ln">1541 </span></a>        //         onInit: function () {
<a name="l1542"><span class="ln">1542 </span></a>        //             var elText = document.getElementById(&quot;text&quot;);
<a name="l1543"><span class="ln">1543 </span></a>        //             qrcode.makeCode(elText.value);
<a name="l1544"><span class="ln">1544 </span></a>        //             // alert(window.screenY);
<a name="l1545"><span class="ln">1545 </span></a>        //         }
<a name="l1546"><span class="ln">1546 </span></a>        //     }
<a name="l1547"><span class="ln">1547 </span></a>        // });
<a name="l1548"><span class="ln">1548 </span></a>
<a name="l1549"><span class="ln">1549 </span></a>        $(<span class="s8">&quot;#emp_save_btn&quot;</span>).val(data_json[index].sbbh);
<a name="l1550"><span class="ln">1550 </span></a>        makecode();
<a name="l1551"><span class="ln">1551 </span></a>        $(<span class="s8">'#empAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l1552"><span class="ln">1552 </span></a>    }
<a name="l1553"><span class="ln">1553 </span></a>
<a name="l1554"><span class="ln">1554 </span></a>    <span class="s6">function </span>makecode() {
<a name="l1555"><span class="ln">1555 </span></a>        <span class="s6">var </span>elText = document.getElementById(<span class="s8">&quot;text&quot;</span>);
<a name="l1556"><span class="ln">1556 </span></a>        qrcode.makeCode(elText.value);
<a name="l1557"><span class="ln">1557 </span></a>        <span class="s5">// alert(document.getElementById(&quot;qrcode&quot;).lastElementChild.outerHTML);</span>
<a name="l1558"><span class="ln">1558 </span></a>    }
<a name="l1559"><span class="ln">1559 </span></a>
<a name="l1560"><span class="ln">1560 </span></a>    <span class="s5">//生成二维码js结束</span>
<a name="l1561"><span class="ln">1561 </span></a>    <span class="s6">function </span>updatespkfk(obj) {
<a name="l1562"><span class="ln">1562 </span></a>        <span class="s6">var </span>sbbh = obj.getAttribute(<span class="s8">&quot;value&quot;</span>);
<a name="l1563"><span class="ln">1563 </span></a>        <span class="s6">var </span>qrcode = document.getElementById(<span class="s8">&quot;qrcode&quot;</span>).lastElementChild.outerHTML;
<a name="l1564"><span class="ln">1564 </span></a>        $(<span class="s8">&quot;#qrcode_update_input_15&quot;</span>).val(qrcode);
<a name="l1565"><span class="ln">1565 </span></a>        $.ajax({
<a name="l1566"><span class="ln">1566 </span></a>            url: <span class="s8">&quot;/sbgl/sbxxb/editspkfk/&quot; </span>+ sbbh,
<a name="l1567"><span class="ln">1567 </span></a>            type: <span class="s8">'PUT'</span>,
<a name="l1568"><span class="ln">1568 </span></a>            data: $(<span class="s8">&quot;#empAddModal form&quot;</span>).serialize(),
<a name="l1569"><span class="ln">1569 </span></a>            success: <span class="s6">function </span>(result) {
<a name="l1570"><span class="ln">1570 </span></a>                <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l1571"><span class="ln">1571 </span></a>                    $(<span class="s8">&quot;#empAddModal&quot;</span>).modal(<span class="s8">'hide'</span>);
<a name="l1572"><span class="ln">1572 </span></a>                    refresh()
<a name="l1573"><span class="ln">1573 </span></a>                }
<a name="l1574"><span class="ln">1574 </span></a>            }
<a name="l1575"><span class="ln">1575 </span></a>        });
<a name="l1576"><span class="ln">1576 </span></a>    };
<a name="l1577"><span class="ln">1577 </span></a>
<a name="l1578"><span class="ln">1578 </span></a>    <span class="s5">//打印设备标签二维码开始</span>
<a name="l1579"><span class="ln">1579 </span></a>    <span class="s6">function </span>MyPreview() {
<a name="l1580"><span class="ln">1580 </span></a>        <span class="s6">var </span>column = $(<span class="s8">'#bootstrap-table'</span>).bootstrapTable(<span class="s8">'getSelections'</span>);
<a name="l1581"><span class="ln">1581 </span></a>        <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;
<a name="l1582"><span class="ln">1582 </span></a>        LODOP = getLodop();
<a name="l1583"><span class="ln">1583 </span></a>        LODOP.PRINT_INIT(<span class="s8">&quot;&quot;</span>);
<a name="l1584"><span class="ln">1584 </span></a>        <span class="s6">var </span>iCurLine = <span class="s9">20</span>;
<a name="l1585"><span class="ln">1585 </span></a>        <span class="s6">for </span>(<span class="s6">var </span>i = <span class="s9">0</span>; i &lt; column.length; i++) {  <span class="s5">//遍历json数组</span>
<a name="l1586"><span class="ln">1586 </span></a>            options = <span class="s8">&quot;&lt;table class='table table-hover table-bordered' cellpadding='0' border='1' cellspacing='0'&gt;&quot;</span>
<a name="l1587"><span class="ln">1587 </span></a>                + <span class="s8">&quot;&lt;tr&gt;&lt;td colspan='2'&gt;&lt;div align='center' style='font-family: 微软雅黑;font-size: 12pt'&gt;安徽海王国安医药有限公司&lt;/div&gt;&lt;/td&gt;&lt;td rowspan='4' align='center' style='width: 110px;height: 110px;'&gt;&quot; </span>+ column[i].qrcode + <span class="s8">&quot;&lt;/td&gt;&lt;/tr&gt;&quot;</span>
<a name="l1588"><span class="ln">1588 </span></a>                + <span class="s8">&quot;&lt;tr&gt;&lt;td colspan='2'&gt;&lt;div align='center' style='font-size: 12pt;font-family: 微软雅黑'&gt;固定资产管理标签&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&quot;</span>
<a name="l1589"><span class="ln">1589 </span></a>                + <span class="s8">&quot;&lt;tr&gt;&lt;td style='width:90px'&gt;&lt;div align='center' style='font-family: 微软雅黑;font-size: 12pt'&gt;资产编号&lt;/div&gt;&lt;/td&gt;&lt;td style='width: 160px'&gt;&lt;div align='center'&gt;&lt;strong style='font-size: 14pt;font-family: 微软雅黑'&gt;&quot; </span>+ column[i].sbbh + <span class="s8">&quot;&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&quot;</span>
<a name="l1590"><span class="ln">1590 </span></a>                + <span class="s8">&quot;&lt;tr&gt;&lt;td style='width:90px'&gt;&lt;div align='center' style='font-size: 12pt;font-family: 微软雅黑'&gt;资产名称&lt;/div&gt;&lt;/td&gt;&lt;td style='width: 160px'&gt;&lt;div align='center'&gt;&lt;strong style='font-family: 微软雅黑;font-size: 14pt'&gt;&quot; </span>+ column[i].sbmc + <span class="s8">&quot;&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&quot;</span>
<a name="l1591"><span class="ln">1591 </span></a>                + <span class="s8">&quot;&lt;/table&gt;&quot;</span>;
<a name="l1592"><span class="ln">1592 </span></a>            <span class="s6">if </span>(i % <span class="s9">2 </span>== <span class="s9">1</span>) {
<a name="l1593"><span class="ln">1593 </span></a>                LODOP.ADD_PRINT_TABLE(iCurLine, <span class="s9">385</span>, <span class="s9">380</span>, <span class="s9">20</span>, options);
<a name="l1594"><span class="ln">1594 </span></a>                iCurLine += <span class="s9">130</span>;
<a name="l1595"><span class="ln">1595 </span></a>            } <span class="s6">else </span>{
<a name="l1596"><span class="ln">1596 </span></a>                LODOP.ADD_PRINT_TABLE(iCurLine, <span class="s9">5</span>, <span class="s9">380</span>, <span class="s9">20</span>, options);
<a name="l1597"><span class="ln">1597 </span></a>            }
<a name="l1598"><span class="ln">1598 </span></a>        }
<a name="l1599"><span class="ln">1599 </span></a>        <span class="s5">// $('#divid').append(options);</span>
<a name="l1600"><span class="ln">1600 </span></a>        LODOP.PREVIEW();
<a name="l1601"><span class="ln">1601 </span></a>    };
<a name="l1602"><span class="ln">1602 </span></a>
<a name="l1603"><span class="ln">1603 </span></a>    <span class="s5">//打印设备标签二维码开始</span>
<a name="l1604"><span class="ln">1604 </span></a>    <span class="s6">function </span>gettjmtk() {
<a name="l1605"><span class="ln">1605 </span></a>        $(<span class="s8">&quot;#sbbh_sel&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1606"><span class="ln">1606 </span></a>        $(<span class="s8">&quot;#sbbh_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1607"><span class="ln">1607 </span></a>        $(<span class="s8">&quot;#sbmc_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1608"><span class="ln">1608 </span></a>        $(<span class="s8">&quot;#guige_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1609"><span class="ln">1609 </span></a>        $(<span class="s8">&quot;#shccj_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1610"><span class="ln">1610 </span></a>        $(<span class="s8">&quot;#gmrq_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1611"><span class="ln">1611 </span></a>        $(<span class="s8">&quot;#bmid_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1612"><span class="ln">1612 </span></a>        $(<span class="s8">&quot;#shiyr_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1613"><span class="ln">1613 </span></a>        $(<span class="s8">'#zbxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1614"><span class="ln">1614 </span></a>        $(<span class="s8">'#cpuxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1615"><span class="ln">1615 </span></a>        $(<span class="s8">'#ncggdx_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1616"><span class="ln">1616 </span></a>        $(<span class="s8">'#xkxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1617"><span class="ln">1617 </span></a>        $(<span class="s8">'#ypdx_id_1'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1618"><span class="ln">1618 </span></a>        $(<span class="s8">'#ypdx_id_2'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1619"><span class="ln">1619 </span></a>        $(<span class="s8">'#ypdx_id_3'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1620"><span class="ln">1620 </span></a>        $(<span class="s8">'#xsqppcc_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1621"><span class="ln">1621 </span></a>        $(<span class="s8">'#ipdz1'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1622"><span class="ln">1622 </span></a>        $(<span class="s8">'#ipdz2'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1623"><span class="ln">1623 </span></a>        $(<span class="s8">'#ipdz3'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1624"><span class="ln">1624 </span></a>        $(<span class="s8">'#ipdz4'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l1625"><span class="ln">1625 </span></a>        $(<span class="s8">'.mac1'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1626"><span class="ln">1626 </span></a>        $(<span class="s8">'.mac2'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1627"><span class="ln">1627 </span></a>        $(<span class="s8">'.mac3'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1628"><span class="ln">1628 </span></a>        $(<span class="s8">'.mac4'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1629"><span class="ln">1629 </span></a>        $(<span class="s8">'.mac5'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1630"><span class="ln">1630 </span></a>        $(<span class="s8">'.mac6'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1631"><span class="ln">1631 </span></a>        $(<span class="s8">'#beiz_id'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1632"><span class="ln">1632 </span></a>        $(<span class="s8">&quot;#sbAddModal&quot;</span>).modal({
<a name="l1633"><span class="ln">1633 </span></a>            backdrop: <span class="s8">&quot;static&quot;</span>
<a name="l1634"><span class="ln">1634 </span></a>        });
<a name="l1635"><span class="ln">1635 </span></a>        $(<span class="s8">&quot;#gsidfrotj&quot;</span>).val(gsid)
<a name="l1636"><span class="ln">1636 </span></a>        getDepts(<span class="s8">&quot;#bmid_id&quot;</span>);
<a name="l1637"><span class="ln">1637 </span></a>        getsblx(<span class="s8">&quot;#sbbh_sel&quot;</span>);
<a name="l1638"><span class="ln">1638 </span></a>        getxsqpp();
<a name="l1639"><span class="ln">1639 </span></a>        $(<span class="s8">'#ypdx_btn_1'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l1640"><span class="ln">1640 </span></a>        $(<span class="s8">'#ypdx_btn_2'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l1641"><span class="ln">1641 </span></a>        $(<span class="s8">'#ypdx_btn_3'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l1642"><span class="ln">1642 </span></a>        $(<span class="s8">'#xsqcc_btn'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l1643"><span class="ln">1643 </span></a>        $(<span class="s8">'#creat_sbbh_btn'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l1644"><span class="ln">1644 </span></a>        document.getElementById(<span class="s8">'xsqppcc_id'</span>).style.backgroundColor = <span class="s8">&quot;#ffffff&quot;</span>
<a name="l1645"><span class="ln">1645 </span></a>    };
<a name="l1646"><span class="ln">1646 </span></a>
<a name="l1647"><span class="ln">1647 </span></a>    $(<span class="s6">function </span>() {
<a name="l1648"><span class="ln">1648 </span></a>        layui.use(<span class="s8">'laydate'</span>, <span class="s6">function </span>() {
<a name="l1649"><span class="ln">1649 </span></a>            <span class="s6">var </span>laydate = layui.laydate;
<a name="l1650"><span class="ln">1650 </span></a>            laydate.render({
<a name="l1651"><span class="ln">1651 </span></a>                elem: <span class="s8">'#gmrq_id'</span>,
<a name="l1652"><span class="ln">1652 </span></a>                type: <span class="s8">'date'</span>,
<a name="l1653"><span class="ln">1653 </span></a>                trigger: <span class="s8">'click'</span>
<a name="l1654"><span class="ln">1654 </span></a>            });
<a name="l1655"><span class="ln">1655 </span></a>        });
<a name="l1656"><span class="ln">1656 </span></a>    });
<a name="l1657"><span class="ln">1657 </span></a>
<a name="l1658"><span class="ln">1658 </span></a>    $(<span class="s6">function </span>() {
<a name="l1659"><span class="ln">1659 </span></a>        layui.use(<span class="s8">'laydate'</span>, <span class="s6">function </span>() {
<a name="l1660"><span class="ln">1660 </span></a>            <span class="s6">var </span>laydate = layui.laydate;
<a name="l1661"><span class="ln">1661 </span></a>            laydate.render({
<a name="l1662"><span class="ln">1662 </span></a>                elem: <span class="s8">'#gmrq_update'</span>,
<a name="l1663"><span class="ln">1663 </span></a>                type: <span class="s8">'date'</span>,
<a name="l1664"><span class="ln">1664 </span></a>                trigger: <span class="s8">'click'</span>
<a name="l1665"><span class="ln">1665 </span></a>            });
<a name="l1666"><span class="ln">1666 </span></a>        });
<a name="l1667"><span class="ln">1667 </span></a>    });
<a name="l1668"><span class="ln">1668 </span></a>
<a name="l1669"><span class="ln">1669 </span></a>    $(<span class="s8">&quot;#guige_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1670"><span class="ln">1670 </span></a>        document.getElementById(<span class="s8">&quot;guige_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1671"><span class="ln">1671 </span></a>    });
<a name="l1672"><span class="ln">1672 </span></a>
<a name="l1673"><span class="ln">1673 </span></a>    $(<span class="s8">&quot;#shccj_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1674"><span class="ln">1674 </span></a>        document.getElementById(<span class="s8">&quot;shccj_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1675"><span class="ln">1675 </span></a>    });
<a name="l1676"><span class="ln">1676 </span></a>
<a name="l1677"><span class="ln">1677 </span></a>    $(<span class="s8">&quot;#gmrq_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1678"><span class="ln">1678 </span></a>        document.getElementById(<span class="s8">&quot;gmrq_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1679"><span class="ln">1679 </span></a>    });
<a name="l1680"><span class="ln">1680 </span></a>
<a name="l1681"><span class="ln">1681 </span></a>    $(<span class="s8">&quot;#zbxh_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1682"><span class="ln">1682 </span></a>        document.getElementById(<span class="s8">&quot;zbxh_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1683"><span class="ln">1683 </span></a>    });
<a name="l1684"><span class="ln">1684 </span></a>
<a name="l1685"><span class="ln">1685 </span></a>    $(<span class="s8">&quot;#cpuxh_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1686"><span class="ln">1686 </span></a>        document.getElementById(<span class="s8">&quot;cpuxh_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1687"><span class="ln">1687 </span></a>    });
<a name="l1688"><span class="ln">1688 </span></a>
<a name="l1689"><span class="ln">1689 </span></a>    $(<span class="s8">&quot;#xsqppcc_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1690"><span class="ln">1690 </span></a>        document.getElementById(<span class="s8">&quot;xsqppcc_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1691"><span class="ln">1691 </span></a>    });
<a name="l1692"><span class="ln">1692 </span></a>
<a name="l1693"><span class="ln">1693 </span></a>    $(<span class="s8">&quot;#xkxh_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1694"><span class="ln">1694 </span></a>        document.getElementById(<span class="s8">&quot;xkxh_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1695"><span class="ln">1695 </span></a>    });
<a name="l1696"><span class="ln">1696 </span></a>
<a name="l1697"><span class="ln">1697 </span></a>    $(<span class="s8">&quot;#bmid_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1698"><span class="ln">1698 </span></a>        document.getElementById(<span class="s8">&quot;bmid_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1699"><span class="ln">1699 </span></a>    });
<a name="l1700"><span class="ln">1700 </span></a>
<a name="l1701"><span class="ln">1701 </span></a>    $(<span class="s8">'#bmid_update'</span>).change(<span class="s6">function </span>() {
<a name="l1702"><span class="ln">1702 </span></a>        <span class="s5">// getDepts(&quot;#myModal5 select&quot;)</span>
<a name="l1703"><span class="ln">1703 </span></a>        <span class="s6">var </span>bmid = $(<span class="s8">&quot;#bmid_update option:selected&quot;</span>).val();
<a name="l1704"><span class="ln">1704 </span></a>        $(<span class="s8">'#shiyr_update'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1705"><span class="ln">1705 </span></a>        $(<span class="s8">'#browsers_update'</span>).empty();
<a name="l1706"><span class="ln">1706 </span></a>        $(<span class="s8">&quot;#shiyr_update&quot;</span>).removeAttr(<span class="s8">&quot;readonly&quot;</span>)
<a name="l1707"><span class="ln">1707 </span></a>        $.ajax({
<a name="l1708"><span class="ln">1708 </span></a>            url: <span class="s8">&quot;/sbgl/ygxxb/getygxx/&quot; </span>+ bmid,
<a name="l1709"><span class="ln">1709 </span></a>            type: <span class="s8">'get'</span>,
<a name="l1710"><span class="ln">1710 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1711"><span class="ln">1711 </span></a>                $(<span class="s8">'#shiyr_update'</span>).empty();
<a name="l1712"><span class="ln">1712 </span></a>                <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1713"><span class="ln">1713 </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1714"><span class="ln">1714 </span></a>                    options += <span class="s8">&quot;&lt;option value='&quot; </span>+ data[i].shiyr + <span class="s8">&quot;'&gt;&quot; </span>+ data[i].zjm + <span class="s8">&quot;&lt;/option&gt;&quot;</span>
<a name="l1715"><span class="ln">1715 </span></a>                    <span class="s5">//     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;</span>
<a name="l1716"><span class="ln">1716 </span></a>                }
<a name="l1717"><span class="ln">1717 </span></a>                $(<span class="s8">'#browsers_update'</span>).append(options);
<a name="l1718"><span class="ln">1718 </span></a>            },
<a name="l1719"><span class="ln">1719 </span></a>        });
<a name="l1720"><span class="ln">1720 </span></a>    });
<a name="l1721"><span class="ln">1721 </span></a>
<a name="l1722"><span class="ln">1722 </span></a>    $(<span class="s8">&quot;#shiyr_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1723"><span class="ln">1723 </span></a>        document.getElementById(<span class="s8">&quot;shiyr_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1724"><span class="ln">1724 </span></a>    });
<a name="l1725"><span class="ln">1725 </span></a>
<a name="l1726"><span class="ln">1726 </span></a>    $(<span class="s8">&quot;#ncggdx_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1727"><span class="ln">1727 </span></a>        document.getElementById(<span class="s8">&quot;ncggdx_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1728"><span class="ln">1728 </span></a>    });
<a name="l1729"><span class="ln">1729 </span></a>
<a name="l1730"><span class="ln">1730 </span></a>    $(<span class="s8">&quot;#ypdx_update_1&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1731"><span class="ln">1731 </span></a>        document.getElementById(<span class="s8">&quot;ypdx_update_1&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1732"><span class="ln">1732 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ypdx_update_1&quot;</span>).val() == <span class="s8">&quot;&quot;</span>) {
<a name="l1733"><span class="ln">1733 </span></a>            document.getElementById(<span class="s8">&quot;ypdx1lab&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>;
<a name="l1734"><span class="ln">1734 </span></a>        }
<a name="l1735"><span class="ln">1735 </span></a>    });
<a name="l1736"><span class="ln">1736 </span></a>
<a name="l1737"><span class="ln">1737 </span></a>    $(<span class="s8">&quot;#ypdx_update_2&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1738"><span class="ln">1738 </span></a>        document.getElementById(<span class="s8">&quot;ypdx_update_2&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1739"><span class="ln">1739 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ypdx_update_2&quot;</span>).val() == <span class="s8">&quot;&quot;</span>) {
<a name="l1740"><span class="ln">1740 </span></a>            document.getElementById(<span class="s8">&quot;ypdx2lab&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>;
<a name="l1741"><span class="ln">1741 </span></a>        }
<a name="l1742"><span class="ln">1742 </span></a>    });
<a name="l1743"><span class="ln">1743 </span></a>
<a name="l1744"><span class="ln">1744 </span></a>    $(<span class="s8">&quot;#ypdx_update_3&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1745"><span class="ln">1745 </span></a>        document.getElementById(<span class="s8">&quot;ypdx_update_3&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1746"><span class="ln">1746 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ypdx_update_3&quot;</span>).val() == <span class="s8">&quot;&quot;</span>) {
<a name="l1747"><span class="ln">1747 </span></a>            document.getElementById(<span class="s8">&quot;ypdx3lab&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>;
<a name="l1748"><span class="ln">1748 </span></a>        }
<a name="l1749"><span class="ln">1749 </span></a>    });
<a name="l1750"><span class="ln">1750 </span></a>
<a name="l1751"><span class="ln">1751 </span></a>    $(<span class="s8">&quot;#beiz_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1752"><span class="ln">1752 </span></a>        document.getElementById(<span class="s8">&quot;beiz_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1753"><span class="ln">1753 </span></a>    });
<a name="l1754"><span class="ln">1754 </span></a>
<a name="l1755"><span class="ln">1755 </span></a>    $(<span class="s8">&quot;#ipdz_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1756"><span class="ln">1756 </span></a>        document.getElementById(<span class="s8">&quot;ipdz_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1757"><span class="ln">1757 </span></a>    });
<a name="l1758"><span class="ln">1758 </span></a>
<a name="l1759"><span class="ln">1759 </span></a>    $(<span class="s8">&quot;#macdz_update&quot;</span>).bind(<span class="s8">&quot;input propertychange&quot;</span>, <span class="s6">function </span>() {
<a name="l1760"><span class="ln">1760 </span></a>        document.getElementById(<span class="s8">&quot;macdz_update&quot;</span>).style.color = <span class="s8">&quot;red&quot;</span>
<a name="l1761"><span class="ln">1761 </span></a>    });
<a name="l1762"><span class="ln">1762 </span></a>
<a name="l1763"><span class="ln">1763 </span></a>
<a name="l1764"><span class="ln">1764 </span></a>    <span class="s6">function </span>getsblx(ele) {
<a name="l1765"><span class="ln">1765 </span></a>        $.ajax({
<a name="l1766"><span class="ln">1766 </span></a>            url: <span class="s8">'/sbgl/sbflb/getsbflb/' </span>+ gsid,
<a name="l1767"><span class="ln">1767 </span></a>            type: <span class="s8">'get'</span>,
<a name="l1768"><span class="ln">1768 </span></a>            async: <span class="s6">false</span>,
<a name="l1769"><span class="ln">1769 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1770"><span class="ln">1770 </span></a>                $(ele).empty();
<a name="l1771"><span class="ln">1771 </span></a>                <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1772"><span class="ln">1772 </span></a>                $(ele).append(<span class="s8">'&lt;option value=&quot;&quot;&gt;请选择设备类型&lt;/option&gt;'</span>);
<a name="l1773"><span class="ln">1773 </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1774"><span class="ln">1774 </span></a>                    options += <span class="s8">&quot;&lt;option value='&quot; </span>+ data[i].sbid + <span class="s8">&quot;'&gt;&quot; </span>+ data[i].sbmc + <span class="s8">&quot;&lt;/option&gt;&quot;</span>
<a name="l1775"><span class="ln">1775 </span></a>                    <span class="s5">//     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;</span>
<a name="l1776"><span class="ln">1776 </span></a>                }
<a name="l1777"><span class="ln">1777 </span></a>                $(ele).append(options);
<a name="l1778"><span class="ln">1778 </span></a>            }
<a name="l1779"><span class="ln">1779 </span></a>        })
<a name="l1780"><span class="ln">1780 </span></a>    }
<a name="l1781"><span class="ln">1781 </span></a>
<a name="l1782"><span class="ln">1782 </span></a>    <span class="s6">function </span>getDepts(ele) {
<a name="l1783"><span class="ln">1783 </span></a>        $.ajax({
<a name="l1784"><span class="ln">1784 </span></a>            url: <span class="s8">&quot;/sbgl/ygxxb/getbm/&quot; </span>+ gsid,
<a name="l1785"><span class="ln">1785 </span></a>            type: <span class="s8">'get'</span>,
<a name="l1786"><span class="ln">1786 </span></a>            async: <span class="s6">false</span>,
<a name="l1787"><span class="ln">1787 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1788"><span class="ln">1788 </span></a>                $(ele).empty();
<a name="l1789"><span class="ln">1789 </span></a>                <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1790"><span class="ln">1790 </span></a>                $(ele).append(<span class="s8">'&lt;option value=&quot;&quot;&gt;请选择部门&lt;/option&gt;'</span>);
<a name="l1791"><span class="ln">1791 </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1792"><span class="ln">1792 </span></a>                    options += <span class="s8">&quot;&lt;option value='&quot; </span>+ data[i].bm + <span class="s8">&quot;'&gt;&quot; </span>+ data[i].bm + <span class="s8">&quot;&lt;/option&gt;&quot;</span>
<a name="l1793"><span class="ln">1793 </span></a>                    <span class="s5">//     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;</span>
<a name="l1794"><span class="ln">1794 </span></a>                }
<a name="l1795"><span class="ln">1795 </span></a>                $(ele).append(options);
<a name="l1796"><span class="ln">1796 </span></a>            },
<a name="l1797"><span class="ln">1797 </span></a>        });
<a name="l1798"><span class="ln">1798 </span></a>    };
<a name="l1799"><span class="ln">1799 </span></a>
<a name="l1800"><span class="ln">1800 </span></a>    <span class="s6">function </span>getxsqpp() {
<a name="l1801"><span class="ln">1801 </span></a>        $(<span class="s8">'#xsqpp_id'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1802"><span class="ln">1802 </span></a>        $(<span class="s8">'#browsersforxsq'</span>).empty();
<a name="l1803"><span class="ln">1803 </span></a>        $.ajax({
<a name="l1804"><span class="ln">1804 </span></a>            url: <span class="s8">&quot;/sbgl/xsqxxb/getxsqxxb/&quot;</span>,
<a name="l1805"><span class="ln">1805 </span></a>            type: <span class="s8">'get'</span>,
<a name="l1806"><span class="ln">1806 </span></a>            async: <span class="s6">false</span>,
<a name="l1807"><span class="ln">1807 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1808"><span class="ln">1808 </span></a>                $(<span class="s8">'#xsqpp_id'</span>).empty();
<a name="l1809"><span class="ln">1809 </span></a>                <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1810"><span class="ln">1810 </span></a>                // $(&quot;#browsersforxsq&quot;).append('&lt;option value=&quot;&quot;&gt;请选择显示器品牌&lt;/option&gt;');
<a name="l1811"><span class="ln">1811 </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1812"><span class="ln">1812 </span></a>                    options += <span class="s8">&quot;&lt;option value='&quot; </span>+ data[i].xsqpp + <span class="s8">&quot;'&gt;&quot; </span>+ data[i].zjm + <span class="s8">&quot;&lt;/option&gt;&quot;</span>
<a name="l1813"><span class="ln">1813 </span></a>                    <span class="s5">//     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;</span>
<a name="l1814"><span class="ln">1814 </span></a>                }
<a name="l1815"><span class="ln">1815 </span></a>                $(<span class="s8">'#browsersforxsq'</span>).append(options);
<a name="l1816"><span class="ln">1816 </span></a>            },
<a name="l1817"><span class="ln">1817 </span></a>        });
<a name="l1818"><span class="ln">1818 </span></a>    };
<a name="l1819"><span class="ln">1819 </span></a>
<a name="l1820"><span class="ln">1820 </span></a>    $(<span class="s8">'#sbmc_sel'</span>).change(<span class="s6">function </span>() {
<a name="l1821"><span class="ln">1821 </span></a>        <span class="s6">var </span>sbmc = $(<span class="s8">'#sbmc_sel option:selected'</span>).val()
<a name="l1822"><span class="ln">1822 </span></a>        <span class="s6">if </span>(sbmc!=<span class="s8">&quot;GASB-&quot;</span>) {
<a name="l1823"><span class="ln">1823 </span></a>            yctable()
<a name="l1824"><span class="ln">1824 </span></a>        }<span class="s6">else </span>{
<a name="l1825"><span class="ln">1825 </span></a>            alert(<span class="s8">&quot;请选择打印台账的设备类型&quot;</span>)
<a name="l1826"><span class="ln">1826 </span></a>        }
<a name="l1827"><span class="ln">1827 </span></a>    });
<a name="l1828"><span class="ln">1828 </span></a>
<a name="l1829"><span class="ln">1829 </span></a>    $(<span class="s8">'#bmid_id'</span>).change(<span class="s6">function </span>() {
<a name="l1830"><span class="ln">1830 </span></a>        <span class="s6">var </span>bm = $(<span class="s8">&quot;#bmid_id option:selected&quot;</span>).val();
<a name="l1831"><span class="ln">1831 </span></a>        $(<span class="s8">'#shiyr_id'</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l1832"><span class="ln">1832 </span></a>        $(<span class="s8">'#browsers'</span>).empty();
<a name="l1833"><span class="ln">1833 </span></a>        $.ajax({
<a name="l1834"><span class="ln">1834 </span></a>            url: <span class="s8">&quot;/sbgl/ygxxb/getygxx/&quot; </span>+ bm,
<a name="l1835"><span class="ln">1835 </span></a>            type: <span class="s8">'get'</span>,
<a name="l1836"><span class="ln">1836 </span></a>            async: <span class="s6">false</span>,
<a name="l1837"><span class="ln">1837 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1838"><span class="ln">1838 </span></a>                $(<span class="s8">'#shiyr_id'</span>).empty();
<a name="l1839"><span class="ln">1839 </span></a>                <span class="s6">var </span>options = <span class="s8">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l1840"><span class="ln">1840 </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>data) {  <span class="s5">//遍历json数组</span>
<a name="l1841"><span class="ln">1841 </span></a>                    options += <span class="s8">&quot;&lt;option value='&quot; </span>+ data[i].shiyr + <span class="s8">&quot;'&gt;&quot; </span>+ data[i].zjm + <span class="s8">&quot;&lt;/option&gt;&quot;</span>
<a name="l1842"><span class="ln">1842 </span></a>                    <span class="s5">//     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;</span>
<a name="l1843"><span class="ln">1843 </span></a>                }
<a name="l1844"><span class="ln">1844 </span></a>                $(<span class="s8">'#browsers'</span>).append(options);
<a name="l1845"><span class="ln">1845 </span></a>            },
<a name="l1846"><span class="ln">1846 </span></a>        });
<a name="l1847"><span class="ln">1847 </span></a>    });
<a name="l1848"><span class="ln">1848 </span></a>
<a name="l1849"><span class="ln">1849 </span></a>    <span class="s6">function </span>getmaxbh() {
<a name="l1850"><span class="ln">1850 </span></a>        <span class="s6">var </span>sbid = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).val()
<a name="l1851"><span class="ln">1851 </span></a>        <span class="s6">var </span>maxbh = <span class="s8">&quot;&quot;</span>
<a name="l1852"><span class="ln">1852 </span></a>        $.ajax({
<a name="l1853"><span class="ln">1853 </span></a>            url: <span class="s8">&quot;/sbgl/sbflb/maxbhforint/&quot; </span>+ sbid + <span class="s8">&quot;/&quot; </span>+ gsid,
<a name="l1854"><span class="ln">1854 </span></a>            type: <span class="s8">&quot;get&quot;</span>,
<a name="l1855"><span class="ln">1855 </span></a>            async: <span class="s6">false</span>,
<a name="l1856"><span class="ln">1856 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1857"><span class="ln">1857 </span></a>                maxbh = data
<a name="l1858"><span class="ln">1858 </span></a>            }
<a name="l1859"><span class="ln">1859 </span></a>        })
<a name="l1860"><span class="ln">1860 </span></a>        <span class="s6">return </span>maxbh
<a name="l1861"><span class="ln">1861 </span></a>    }
<a name="l1862"><span class="ln">1862 </span></a>
<a name="l1863"><span class="ln">1863 </span></a>    <span class="s6">function </span>updatesbflb() {
<a name="l1864"><span class="ln">1864 </span></a>        <span class="s6">var </span>sbid = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).val()
<a name="l1865"><span class="ln">1865 </span></a>        $(<span class="s8">&quot;#maxbh&quot;</span>).val(getmaxbh())
<a name="l1866"><span class="ln">1866 </span></a>        $.ajax({
<a name="l1867"><span class="ln">1867 </span></a>            url: <span class="s8">&quot;/sbgl/sbflb/updatesbflb/&quot; </span>+ sbid,
<a name="l1868"><span class="ln">1868 </span></a>            type: <span class="s8">&quot;put&quot;</span>,
<a name="l1869"><span class="ln">1869 </span></a>            async: <span class="s6">false</span>,
<a name="l1870"><span class="ln">1870 </span></a>            data: $(<span class="s8">&quot;#sbAddModal form&quot;</span>).serialize(),
<a name="l1871"><span class="ln">1871 </span></a>            success: <span class="s6">function </span>(data) {
<a name="l1872"><span class="ln">1872 </span></a>            }
<a name="l1873"><span class="ln">1873 </span></a>        })
<a name="l1874"><span class="ln">1874 </span></a>    }
<a name="l1875"><span class="ln">1875 </span></a>
<a name="l1876"><span class="ln">1876 </span></a>    <span class="s6">function </span>savesbenter() {
<a name="l1877"><span class="ln">1877 </span></a>        <span class="s6">if </span>(event.keyCode == <span class="s9">13</span>) {
<a name="l1878"><span class="ln">1878 </span></a>            savesb()
<a name="l1879"><span class="ln">1879 </span></a>        }
<a name="l1880"><span class="ln">1880 </span></a>    }
<a name="l1881"><span class="ln">1881 </span></a>
<a name="l1882"><span class="ln">1882 </span></a>    <span class="s6">function </span>savesb() {
<a name="l1883"><span class="ln">1883 </span></a>        <span class="s6">var </span>sbbh_sel = $(<span class="s8">&quot;#sbbh_sel&quot;</span>).val()
<a name="l1884"><span class="ln">1884 </span></a>        <span class="s6">var </span>ypdx_sel_1 = $(<span class="s8">&quot;#ypdx_sel_1 option:selected&quot;</span>).text();
<a name="l1885"><span class="ln">1885 </span></a>        <span class="s6">var </span>ypdx_sel_2 = $(<span class="s8">&quot;#ypdx_sel_2 option:selected&quot;</span>).text();
<a name="l1886"><span class="ln">1886 </span></a>        <span class="s6">var </span>ypdx_sel_3 = $(<span class="s8">&quot;#ypdx_sel_3 option:selected&quot;</span>).text();
<a name="l1887"><span class="ln">1887 </span></a>        <span class="s6">var </span>sbbh_id = $(<span class="s8">&quot;#sbbh_id&quot;</span>).val()
<a name="l1888"><span class="ln">1888 </span></a>        <span class="s6">var </span>sbmc_id = $(<span class="s8">&quot;#sbmc_id&quot;</span>).val()
<a name="l1889"><span class="ln">1889 </span></a>        <span class="s6">var </span>guige_id = $(<span class="s8">&quot;#guige_id&quot;</span>).val()
<a name="l1890"><span class="ln">1890 </span></a>        <span class="s6">var </span>shccj_id = $(<span class="s8">&quot;#shccj_id&quot;</span>).val()
<a name="l1891"><span class="ln">1891 </span></a>        <span class="s6">var </span>gmrq_id = $(<span class="s8">&quot;#gmrq_id&quot;</span>).val()
<a name="l1892"><span class="ln">1892 </span></a>        <span class="s6">var </span>bmid_id = $(<span class="s8">&quot;#bmid_id&quot;</span>).val()
<a name="l1893"><span class="ln">1893 </span></a>        <span class="s6">var </span>shiyr_id = $(<span class="s8">&quot;#shiyr_id&quot;</span>).val()
<a name="l1894"><span class="ln">1894 </span></a>        <span class="s6">var </span>zbxh_id = $(<span class="s8">'#zbxh_id'</span>).val()
<a name="l1895"><span class="ln">1895 </span></a>        <span class="s6">var </span>cpuxh_id = $(<span class="s8">'#cpuxh_id'</span>).val()
<a name="l1896"><span class="ln">1896 </span></a>        <span class="s6">var </span>ncggdx_id = $(<span class="s8">'#ncggdx_id'</span>).val()
<a name="l1897"><span class="ln">1897 </span></a>        <span class="s6">var </span>xkxh_id = $(<span class="s8">'#xkxh_id'</span>).val()
<a name="l1898"><span class="ln">1898 </span></a>        <span class="s6">var </span>ypdx_id_1 = $(<span class="s8">'#ypdx_id_1'</span>).val()
<a name="l1899"><span class="ln">1899 </span></a>        <span class="s6">var </span>ypdx_id_2 = $(<span class="s8">'#ypdx_id_2'</span>).val()
<a name="l1900"><span class="ln">1900 </span></a>        <span class="s6">var </span>ypdx_id_3 = $(<span class="s8">'#ypdx_id_3'</span>).val()
<a name="l1901"><span class="ln">1901 </span></a>        <span class="s6">var </span>xsqppcc_id = $(<span class="s8">'#xsqppcc_id'</span>).val()
<a name="l1902"><span class="ln">1902 </span></a>        <span class="s6">var </span>gsid = $(<span class="s8">&quot;#gsidfrotj&quot;</span>).val()
<a name="l1903"><span class="ln">1903 </span></a>        <span class="s6">var </span>ipdz1 = $(<span class="s8">'#ipdz1'</span>).val()
<a name="l1904"><span class="ln">1904 </span></a>        <span class="s6">var </span>ipdz2 = $(<span class="s8">'#ipdz2'</span>).val()
<a name="l1905"><span class="ln">1905 </span></a>        <span class="s6">var </span>ipdz3 = $(<span class="s8">'#ipdz3'</span>).val()
<a name="l1906"><span class="ln">1906 </span></a>        <span class="s6">var </span>ipdz4 = $(<span class="s8">'#ipdz4'</span>).val()
<a name="l1907"><span class="ln">1907 </span></a>        <span class="s6">var </span>macdz = $(<span class="s8">'.mac1'</span>).val();
<a name="l1908"><span class="ln">1908 </span></a>        <span class="s6">var </span>index = ypdx_id_1.lastIndexOf(<span class="s8">&quot;</span><span class="s6">\-</span><span class="s8">&quot;</span>);
<a name="l1909"><span class="ln">1909 </span></a>        <span class="s6">var </span>ypdx_id_shuzi_1 = ypdx_id_1.substring(index + <span class="s9">1</span>, ypdx_id_1.length);
<a name="l1910"><span class="ln">1910 </span></a>        <span class="s6">var </span>index = ypdx_id_2.lastIndexOf(<span class="s8">&quot;</span><span class="s6">\-</span><span class="s8">&quot;</span>);
<a name="l1911"><span class="ln">1911 </span></a>        <span class="s6">var </span>ypdx_id_shuzi_2 = ypdx_id_2.substring(index + <span class="s9">1</span>, ypdx_id_2.length);
<a name="l1912"><span class="ln">1912 </span></a>        <span class="s6">var </span>index = ypdx_id_3.lastIndexOf(<span class="s8">&quot;</span><span class="s6">\-</span><span class="s8">&quot;</span>);
<a name="l1913"><span class="ln">1913 </span></a>        <span class="s6">var </span>ypdx_id_shuzi_3 = ypdx_id_3.substring(index + <span class="s9">1</span>, ypdx_id_3.length);
<a name="l1914"><span class="ln">1914 </span></a>        <span class="s6">if </span>(sbbh_sel == <span class="s8">&quot;&quot;</span>) {
<a name="l1915"><span class="ln">1915 </span></a>            alert(<span class="s8">&quot;请先选择设备类型&quot;</span>)
<a name="l1916"><span class="ln">1916 </span></a>            $(<span class="s8">&quot;#sbbh_sel&quot;</span>).focus()
<a name="l1917"><span class="ln">1917 </span></a>        } <span class="s6">else if </span>(bmid_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1918"><span class="ln">1918 </span></a>            alert(<span class="s8">&quot;请点击选择部门的下拉框&quot;</span>)
<a name="l1919"><span class="ln">1919 </span></a>            $(<span class="s8">&quot;#bmid_id&quot;</span>).focus()
<a name="l1920"><span class="ln">1920 </span></a>        } <span class="s6">else if </span>(gsid == <span class="s8">&quot;&quot;</span>) {
<a name="l1921"><span class="ln">1921 </span></a>            alert(<span class="s8">&quot;当前状态未登陆系统或浏览器中当前会话结束了，您需要重新登陆&quot;</span>)
<a name="l1922"><span class="ln">1922 </span></a>            window.location.href = <span class="s8">&quot;/login&quot;</span>;
<a name="l1923"><span class="ln">1923 </span></a>        } <span class="s6">else if </span>(shiyr_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1924"><span class="ln">1924 </span></a>            alert(<span class="s8">&quot;请输入姓名的助记码，助记码为拼音首字母&quot;</span>)
<a name="l1925"><span class="ln">1925 </span></a>            $(<span class="s8">&quot;#shiyr_id&quot;</span>).focus()
<a name="l1926"><span class="ln">1926 </span></a>        } <span class="s6">else if </span>(bmid_id != <span class="s8">&quot;&quot; </span>&amp;&amp; shiyr_id != <span class="s8">&quot;&quot;</span>) {
<a name="l1927"><span class="ln">1927 </span></a>            <span class="s6">var </span>xinr = getshiyr()
<a name="l1928"><span class="ln">1928 </span></a>            <span class="s6">if </span>(sbmc_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1929"><span class="ln">1929 </span></a>                alert(<span class="s8">&quot;请先选择设备类型后，点击生成设备编号按钮，谢谢您的合作！！！&quot;</span>)
<a name="l1930"><span class="ln">1930 </span></a>            } <span class="s6">else if </span>(sbbh_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1931"><span class="ln">1931 </span></a>                alert(<span class="s8">&quot;设备编号是自动生成的，点击生成设备编号按钮&quot;</span>)
<a name="l1932"><span class="ln">1932 </span></a>            } <span class="s6">else if </span>(guige_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1933"><span class="ln">1933 </span></a>                alert(<span class="s8">&quot;请输入品牌型号&quot;</span>)
<a name="l1934"><span class="ln">1934 </span></a>                $(<span class="s8">&quot;#guige_id&quot;</span>).focus()
<a name="l1935"><span class="ln">1935 </span></a>            } <span class="s6">else if </span>(shccj_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1936"><span class="ln">1936 </span></a>                alert(<span class="s8">&quot;请输入生产厂家&quot;</span>)
<a name="l1937"><span class="ln">1937 </span></a>                $(<span class="s8">&quot;#shccj_id&quot;</span>).focus()
<a name="l1938"><span class="ln">1938 </span></a>            } <span class="s6">else if </span>(gmrq_id == <span class="s8">&quot;&quot;</span>) {
<a name="l1939"><span class="ln">1939 </span></a>                alert(<span class="s8">&quot;请点击购买日期&quot;</span>)
<a name="l1940"><span class="ln">1940 </span></a>                $(<span class="s8">&quot;#gmrq_id&quot;</span>).focus()
<a name="l1941"><span class="ln">1941 </span></a>            } <span class="s6">else if </span>(zbxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1942"><span class="ln">1942 </span></a>                alert(<span class="s8">&quot;请输入主板型号&quot;</span>)
<a name="l1943"><span class="ln">1943 </span></a>                $(<span class="s8">&quot;#zbxh_id&quot;</span>).focus()
<a name="l1944"><span class="ln">1944 </span></a>            } <span class="s6">else if </span>(cpuxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1945"><span class="ln">1945 </span></a>                alert(<span class="s8">&quot;请输入CPU型号&quot;</span>)
<a name="l1946"><span class="ln">1946 </span></a>                $(<span class="s8">&quot;#cpuxh_id&quot;</span>).focus()
<a name="l1947"><span class="ln">1947 </span></a>            } <span class="s6">else if </span>(ncggdx_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1948"><span class="ln">1948 </span></a>                alert(<span class="s8">&quot;请输入内存大小&quot;</span>)
<a name="l1949"><span class="ln">1949 </span></a>                $(<span class="s8">&quot;#ncggdx_id&quot;</span>).focus()
<a name="l1950"><span class="ln">1950 </span></a>            } <span class="s6">else if </span>(xkxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1951"><span class="ln">1951 </span></a>                alert(<span class="s8">&quot;请输入显卡型号&quot;</span>)
<a name="l1952"><span class="ln">1952 </span></a>                $(<span class="s8">&quot;#xkxh_id&quot;</span>).focus()
<a name="l1953"><span class="ln">1953 </span></a>            } <span class="s6">else if </span>(ypdx_id_1 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1954"><span class="ln">1954 </span></a>                alert(<span class="s8">&quot;请输入硬盘大小&quot;</span>)
<a name="l1955"><span class="ln">1955 </span></a>                $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).focus()
<a name="l1956"><span class="ln">1956 </span></a>            } <span class="s6">else if </span>(xsqppcc_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1957"><span class="ln">1957 </span></a>                alert(<span class="s8">&quot;请输入显示器大小&quot;</span>)
<a name="l1958"><span class="ln">1958 </span></a>                $(<span class="s8">&quot;#xsqppcc_id&quot;</span>).focus()
<a name="l1959"><span class="ln">1959 </span></a>            } <span class="s6">else if </span>(ipdz1 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1960"><span class="ln">1960 </span></a>                alert(<span class="s8">&quot;请输入IP地址&quot;</span>)
<a name="l1961"><span class="ln">1961 </span></a>                $(<span class="s8">&quot;#ipdz1&quot;</span>).focus()
<a name="l1962"><span class="ln">1962 </span></a>            } <span class="s6">else if </span>(ipdz2 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1963"><span class="ln">1963 </span></a>                alert(<span class="s8">&quot;请输入IP地址&quot;</span>)
<a name="l1964"><span class="ln">1964 </span></a>                $(<span class="s8">&quot;#ipdz2&quot;</span>).focus()
<a name="l1965"><span class="ln">1965 </span></a>            } <span class="s6">else if </span>(ipdz3 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1966"><span class="ln">1966 </span></a>                alert(<span class="s8">&quot;请输入IP地址&quot;</span>)
<a name="l1967"><span class="ln">1967 </span></a>                $(<span class="s8">&quot;#ipdz3&quot;</span>).focus()
<a name="l1968"><span class="ln">1968 </span></a>            } <span class="s6">else if </span>(ipdz4 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1969"><span class="ln">1969 </span></a>                alert(<span class="s8">&quot;请输入IP地址&quot;</span>)
<a name="l1970"><span class="ln">1970 </span></a>                $(<span class="s8">&quot;#ipdz4&quot;</span>).focus()
<a name="l1971"><span class="ln">1971 </span></a>            } <span class="s6">else if </span>(macdz == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;电脑&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1972"><span class="ln">1972 </span></a>                alert(<span class="s8">&quot;请输入MAC物理地址&quot;</span>)
<a name="l1973"><span class="ln">1973 </span></a>                $(<span class="s8">&quot;.mac1&quot;</span>).focus()
<a name="l1974"><span class="ln">1974 </span></a>            } <span class="s6">else if </span>(zbxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1975"><span class="ln">1975 </span></a>                alert(<span class="s8">&quot;请输入主板型号&quot;</span>)
<a name="l1976"><span class="ln">1976 </span></a>                $(<span class="s8">&quot;#zbxh_id&quot;</span>).focus()
<a name="l1977"><span class="ln">1977 </span></a>            } <span class="s6">else if </span>(cpuxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1978"><span class="ln">1978 </span></a>                alert(<span class="s8">&quot;请输入CPU型号&quot;</span>)
<a name="l1979"><span class="ln">1979 </span></a>                $(<span class="s8">&quot;#cpuxh_id&quot;</span>).focus()
<a name="l1980"><span class="ln">1980 </span></a>            } <span class="s6">else if </span>(ncggdx_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1981"><span class="ln">1981 </span></a>                alert(<span class="s8">&quot;请输入内存大小&quot;</span>)
<a name="l1982"><span class="ln">1982 </span></a>                $(<span class="s8">&quot;#ncggdx_id&quot;</span>).focus()
<a name="l1983"><span class="ln">1983 </span></a>            } <span class="s6">else if </span>(xkxh_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1984"><span class="ln">1984 </span></a>                alert(<span class="s8">&quot;请输入显卡型号&quot;</span>)
<a name="l1985"><span class="ln">1985 </span></a>                $(<span class="s8">&quot;#xkxh_id&quot;</span>).focus()
<a name="l1986"><span class="ln">1986 </span></a>            } <span class="s6">else if </span>(ypdx_id_1 == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1987"><span class="ln">1987 </span></a>                alert(<span class="s8">&quot;请输入硬盘大小&quot;</span>)
<a name="l1988"><span class="ln">1988 </span></a>                $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).focus()
<a name="l1989"><span class="ln">1989 </span></a>            } <span class="s6">else if </span>(xsqppcc_id == <span class="s8">&quot;&quot; </span>&amp;&amp; sbmc_id.indexOf(<span class="s8">&quot;务器&quot;</span>) &gt; <span class="s9">0</span>) {
<a name="l1990"><span class="ln">1990 </span></a>                alert(<span class="s8">&quot;请输入显示器大小&quot;</span>)
<a name="l1991"><span class="ln">1991 </span></a>                $(<span class="s8">&quot;#xsqppcc_id&quot;</span>).focus()
<a name="l1992"><span class="ln">1992 </span></a>                <span class="s5">// }else if(ipdz_id==&quot;&quot;&amp;&amp;sbmc_id.indexOf(&quot;务器&quot;)&gt;0){</span>
<a name="l1993"><span class="ln">1993 </span></a>                //     alert(&quot;请输入IP地址&quot;)
<a name="l1994"><span class="ln">1994 </span></a>                //     $(&quot;#ipdz_id&quot;).focus()
<a name="l1995"><span class="ln">1995 </span></a>                // }else if(macdz_id==&quot;&quot;&amp;&amp;sbmc_id.indexOf(&quot;务器&quot;)&gt;0){
<a name="l1996"><span class="ln">1996 </span></a>                //     alert(&quot;请输入MAC物理地址&quot;)
<a name="l1997"><span class="ln">1997 </span></a>                //     $(&quot;#macdz_id&quot;).focus()
<a name="l1998"><span class="ln">1998 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_1 &gt;= <span class="s9">50 </span>&amp;&amp; ypdx_sel_1 == <span class="s8">&quot;T&quot;</span>) {
<a name="l1999"><span class="ln">1999 </span></a>                alert(<span class="s8">&quot;硬盘1大小以T为单位，请输入的硬盘大小不能大于50T&quot;</span>)
<a name="l2000"><span class="ln">2000 </span></a>                $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2001"><span class="ln">2001 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_1 &lt;= <span class="s9">80 </span>&amp;&amp; ypdx_sel_1 == <span class="s8">&quot;G&quot;</span>) {
<a name="l2002"><span class="ln">2002 </span></a>                alert(<span class="s8">&quot;硬盘1大小以G为单位，请输入的硬盘大小必须大于80G&quot;</span>)
<a name="l2003"><span class="ln">2003 </span></a>                $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2004"><span class="ln">2004 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_2 &gt;= <span class="s9">50 </span>&amp;&amp; ypdx_sel_2 == <span class="s8">&quot;T&quot;</span>) {
<a name="l2005"><span class="ln">2005 </span></a>                alert(<span class="s8">&quot;硬盘2大小以T为单位，请输入的硬盘大小不能大于50T&quot;</span>)
<a name="l2006"><span class="ln">2006 </span></a>                $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2007"><span class="ln">2007 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_2 &lt;= <span class="s9">80 </span>&amp;&amp; ypdx_sel_2 == <span class="s8">&quot;G&quot;</span>) {
<a name="l2008"><span class="ln">2008 </span></a>                alert(<span class="s8">&quot;硬盘2大小以G为单位，请输入的硬盘大小必须大于80G&quot;</span>)
<a name="l2009"><span class="ln">2009 </span></a>                $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2010"><span class="ln">2010 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_3 &gt;= <span class="s9">50 </span>&amp;&amp; ypdx_sel_3 == <span class="s8">&quot;T&quot;</span>) {
<a name="l2011"><span class="ln">2011 </span></a>                alert(<span class="s8">&quot;硬盘3大小以T为单位，请输入的硬盘大小不能大于50T&quot;</span>)
<a name="l2012"><span class="ln">2012 </span></a>                $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2013"><span class="ln">2013 </span></a>            } <span class="s6">else if </span>(ypdx_id_shuzi_3 &lt;= <span class="s9">80 </span>&amp;&amp; ypdx_sel_3 == <span class="s8">&quot;G&quot;</span>) {
<a name="l2014"><span class="ln">2014 </span></a>                alert(<span class="s8">&quot;硬盘3大小以G为单位，请输入的硬盘大小必须大于80G&quot;</span>)
<a name="l2015"><span class="ln">2015 </span></a>                $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2016"><span class="ln">2016 </span></a>            } <span class="s6">else if </span>(xinr == <span class="s8">&quot;全公司上下查无此人&quot;</span>) {
<a name="l2017"><span class="ln">2017 </span></a>                alert(<span class="s8">&quot;你查询的员工信息不在你现在的部门里面，请核对&quot;</span>)
<a name="l2018"><span class="ln">2018 </span></a>                $(<span class="s8">&quot;#shiyr_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2019"><span class="ln">2019 </span></a>                $(<span class="s8">&quot;#shiyr_id&quot;</span>).focus();
<a name="l2020"><span class="ln">2020 </span></a>            } <span class="s6">else </span>{
<a name="l2021"><span class="ln">2021 </span></a>                updatesbflb()
<a name="l2022"><span class="ln">2022 </span></a>                savesbforajax()
<a name="l2023"><span class="ln">2023 </span></a>            }
<a name="l2024"><span class="ln">2024 </span></a>        }
<a name="l2025"><span class="ln">2025 </span></a>        yctable()
<a name="l2026"><span class="ln">2026 </span></a>    }
<a name="l2027"><span class="ln">2027 </span></a>
<a name="l2028"><span class="ln">2028 </span></a>    <span class="s6">function </span>savesbforajax() {
<a name="l2029"><span class="ln">2029 </span></a>        $.ajax({
<a name="l2030"><span class="ln">2030 </span></a>            url: <span class="s8">&quot;/sbgl/sbxxb/insertsb&quot;</span>,
<a name="l2031"><span class="ln">2031 </span></a>            type: <span class="s8">'POST'</span>,
<a name="l2032"><span class="ln">2032 </span></a>            data: $(<span class="s8">&quot;#sbAddModal form&quot;</span>).serialize(),
<a name="l2033"><span class="ln">2033 </span></a>            success: <span class="s6">function </span>(result) {
<a name="l2034"><span class="ln">2034 </span></a>                <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l2035"><span class="ln">2035 </span></a>                    alert(<span class="s8">&quot;添加成功！！！&quot;</span>);
<a name="l2036"><span class="ln">2036 </span></a>                    $(<span class="s8">&quot;#sbAddModal&quot;</span>).modal(<span class="s8">'hide'</span>);
<a name="l2037"><span class="ln">2037 </span></a>                    refresh()
<a name="l2038"><span class="ln">2038 </span></a>                }
<a name="l2039"><span class="ln">2039 </span></a>            }
<a name="l2040"><span class="ln">2040 </span></a>        });
<a name="l2041"><span class="ln">2041 </span></a>    }
<a name="l2042"><span class="ln">2042 </span></a>
<a name="l2043"><span class="ln">2043 </span></a>    <span class="s5">// $('#ypdx_id_1').bind('focus',function(){</span>
<a name="l2044"><span class="ln">2044 </span></a>    //     $.modal.open('添加用户', &quot;/ypdx&quot;, '500', '300',callback);
<a name="l2045"><span class="ln">2045 </span></a>    // })
<a name="l2046"><span class="ln">2046 </span></a>
<a name="l2047"><span class="ln">2047 </span></a>
<a name="l2048"><span class="ln">2048 </span></a>    <span class="s6">function </span>xsqxx() {
<a name="l2049"><span class="ln">2049 </span></a>        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'hide'</span>);
<a name="l2050"><span class="ln">2050 </span></a>        $(<span class="s8">&quot;#xsqppcc&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2051"><span class="ln">2051 </span></a>        $.confirm({
<a name="l2052"><span class="ln">2052 </span></a>            title: <span class="s8">'显示器品牌尺寸信息'</span>,
<a name="l2053"><span class="ln">2053 </span></a>            content: <span class="s8">'' </span>+
<a name="l2054"><span class="ln">2054 </span></a>                <span class="s8">'&lt;form action=&quot;&quot; class=&quot;formName&quot;&gt;' </span>+
<a name="l2055"><span class="ln">2055 </span></a>                <span class="s8">'&lt;div class=&quot;form-group&quot;&gt;' </span>+
<a name="l2056"><span class="ln">2056 </span></a>                <span class="s8">'&lt;label&gt;请输入显示器品牌，点击下拉框选择显示器尺寸大小&lt;/label&gt;' </span>+
<a name="l2057"><span class="ln">2057 </span></a>                <span class="s5">// '&lt;input id=&quot;xsqpp&quot; class=&quot;xsqpp form-control&quot; list=&quot;browsersforxsq&quot; placeholder=&quot;品牌助记码&quot;&gt;'+</span>
<a name="l2058"><span class="ln">2058 </span></a>                // '&lt;datalist id=&quot;browsersforxsq&quot;&gt;&lt;/datalist&gt;'+
<a name="l2059"><span class="ln">2059 </span></a>                <span class="s8">'&lt;input id=&quot;xsqpp&quot; class=&quot;xsqpp form-control&quot; placeholder=&quot;请输入显示器品牌&quot;&gt;' </span>+
<a name="l2060"><span class="ln">2060 </span></a>                <span class="s8">'&lt;select id=&quot;xsqcc&quot; class=&quot;xsqcc form-control&quot;&gt;&lt;option value=&quot;&quot;&gt;请选择显示器尺寸&lt;/option&gt;&lt;option value=&quot;13寸&quot;&gt;13寸&lt;/option&gt;&lt;option value=&quot;14寸&quot;&gt;14寸&lt;/option&gt;&lt;option value=&quot;15寸&quot;&gt;15寸&lt;/option&gt;&lt;option value=&quot;17寸&quot;&gt;17寸&lt;/option&gt;&lt;option value=&quot;19寸&quot;&gt;19寸&lt;/option&gt;&lt;option value=&quot;19.5寸&quot;&gt;19.5寸&lt;/option&gt;&lt;option value=&quot;20寸&quot;&gt;20寸&lt;/option&gt;&lt;option value=&quot;23.5寸&quot;&gt;23.5寸&lt;/option&gt;&lt;option value=&quot;24寸&quot;&gt;24寸&lt;/option&gt;&lt;option value=&quot;25寸&quot;&gt;25寸&lt;/option&gt;&lt;option value=&quot;G&quot;&gt;27寸&lt;/option&gt;&lt;/select&gt;' </span>+
<a name="l2061"><span class="ln">2061 </span></a>                <span class="s8">'&lt;/div&gt;' </span>+
<a name="l2062"><span class="ln">2062 </span></a>                <span class="s8">'&lt;/form&gt;'</span>,
<a name="l2063"><span class="ln">2063 </span></a>            buttons: {
<a name="l2064"><span class="ln">2064 </span></a>                qdformSubmit: {
<a name="l2065"><span class="ln">2065 </span></a>                    text: <span class="s8">'确定'</span>,
<a name="l2066"><span class="ln">2066 </span></a>                    btnClass: <span class="s8">'btn-blue'</span>,
<a name="l2067"><span class="ln">2067 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2068"><span class="ln">2068 </span></a>                        <span class="s6">var </span>xsqpp = <span class="s6">this</span>.$content.find(<span class="s8">'.xsqpp'</span>).val();
<a name="l2069"><span class="ln">2069 </span></a>                        <span class="s6">var </span>xsqcc = <span class="s6">this</span>.$content.find(<span class="s8">'.xsqcc'</span>).val();
<a name="l2070"><span class="ln">2070 </span></a>                        <span class="s6">if </span>(!xsqpp) {
<a name="l2071"><span class="ln">2071 </span></a>                            $.alert(<span class="s8">'请输入显示器品牌'</span>);
<a name="l2072"><span class="ln">2072 </span></a>                            <span class="s6">return false</span>;
<a name="l2073"><span class="ln">2073 </span></a>                        }
<a name="l2074"><span class="ln">2074 </span></a>                        <span class="s6">if </span>(!xsqcc) {
<a name="l2075"><span class="ln">2075 </span></a>                            $.alert(<span class="s8">'请选择显示器尺寸大小'</span>);
<a name="l2076"><span class="ln">2076 </span></a>                            <span class="s6">return false</span>;
<a name="l2077"><span class="ln">2077 </span></a>                        }
<a name="l2078"><span class="ln">2078 </span></a>                        $(<span class="s8">&quot;#xsqppcc_id&quot;</span>).val(xsqpp + <span class="s8">&quot;-&quot; </span>+ xsqcc);
<a name="l2079"><span class="ln">2079 </span></a>                        <span class="s6">this</span>.close()
<a name="l2080"><span class="ln">2080 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2081"><span class="ln">2081 </span></a>                    }
<a name="l2082"><span class="ln">2082 </span></a>                },
<a name="l2083"><span class="ln">2083 </span></a>                cancel: {
<a name="l2084"><span class="ln">2084 </span></a>                    text: <span class="s8">'取消'</span>,
<a name="l2085"><span class="ln">2085 </span></a>                    btnClass: <span class="s8">'btn-red'</span>,
<a name="l2086"><span class="ln">2086 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2087"><span class="ln">2087 </span></a>                        <span class="s5">//close</span>
<a name="l2088"><span class="ln">2088 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2089"><span class="ln">2089 </span></a>                    },
<a name="l2090"><span class="ln">2090 </span></a>                },
<a name="l2091"><span class="ln">2091 </span></a>            },
<a name="l2092"><span class="ln">2092 </span></a>            <span class="s5">// onContentReady: function () {</span>
<a name="l2093"><span class="ln">2093 </span></a>            //     return $.ajax({
<a name="l2094"><span class="ln">2094 </span></a>            //         url: '/sbgl/xsqxxb/getxsqxxb/',
<a name="l2095"><span class="ln">2095 </span></a>            //         dataType: 'json',
<a name="l2096"><span class="ln">2096 </span></a>            //         method: 'get',
<a name="l2097"><span class="ln">2097 </span></a>            //     }).done(function (data) {
<a name="l2098"><span class="ln">2098 </span></a>            //         $('#xsqppcc').empty();
<a name="l2099"><span class="ln">2099 </span></a>            //         $('#browsersforxsq').empty();
<a name="l2100"><span class="ln">2100 </span></a>            //         var options = &quot;&quot;;   //字符串拼接
<a name="l2101"><span class="ln">2101 </span></a>            //         for (var i in data) {  //遍历json数组
<a name="l2102"><span class="ln">2102 </span></a>            //             options += &quot;&lt;option value='&quot; + data[i].xsqpp + &quot;'&gt;&quot; + data[i].zjm + &quot;&lt;/option&gt;&quot;
<a name="l2103"><span class="ln">2103 </span></a>            //             //     // &quot;&lt;input type='radio' class='roles' name='roles' id='&quot;+data[i].wjdcs+&quot;' value='&quot;+data[i].wjdc+&quot;'&gt;&quot;+data[i].wjdc+&quot;&amp;nbsp;&amp;nbsp;&quot;
<a name="l2104"><span class="ln">2104 </span></a>            //         }
<a name="l2105"><span class="ln">2105 </span></a>            //         $('#browsersforxsq').append(options);
<a name="l2106"><span class="ln">2106 </span></a>            //     })
<a name="l2107"><span class="ln">2107 </span></a>            // }
<a name="l2108"><span class="ln">2108 </span></a>        });
<a name="l2109"><span class="ln">2109 </span></a>    }
<a name="l2110"><span class="ln">2110 </span></a>
<a name="l2111"><span class="ln">2111 </span></a>    $(<span class="s8">'#xsqcc_btn'</span>).click(<span class="s6">function </span>() {
<a name="l2112"><span class="ln">2112 </span></a>        xsqxx()
<a name="l2113"><span class="ln">2113 </span></a>    });
<a name="l2114"><span class="ln">2114 </span></a>
<a name="l2115"><span class="ln">2115 </span></a>
<a name="l2116"><span class="ln">2116 </span></a>    <span class="s6">var </span>jxyp = <span class="s8">&quot;机械-&quot;</span>;
<a name="l2117"><span class="ln">2117 </span></a>    <span class="s6">var </span>gtyp = <span class="s8">&quot;固态-&quot;</span>;
<a name="l2118"><span class="ln">2118 </span></a>
<a name="l2119"><span class="ln">2119 </span></a>    <span class="s6">function </span>ypdx_1() {
<a name="l2120"><span class="ln">2120 </span></a>        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'hide'</span>);
<a name="l2121"><span class="ln">2121 </span></a>        $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2122"><span class="ln">2122 </span></a>        $.confirm({
<a name="l2123"><span class="ln">2123 </span></a>            title: <span class="s8">'硬盘一信息'</span>,
<a name="l2124"><span class="ln">2124 </span></a>            content: <span class="s8">'' </span>+
<a name="l2125"><span class="ln">2125 </span></a>                <span class="s8">'&lt;form action=&quot;&quot; class=&quot;formName&quot;&gt;' </span>+
<a name="l2126"><span class="ln">2126 </span></a>                <span class="s8">'&lt;div class=&quot;form-group&quot;&gt;' </span>+
<a name="l2127"><span class="ln">2127 </span></a>                <span class="s8">'&lt;label&gt;请先输入硬盘大小后，点击下拉框选择硬盘单位&lt;/label&gt;' </span>+
<a name="l2128"><span class="ln">2128 </span></a>                <span class="s8">'&lt;input type=&quot;text&quot; placeholder=&quot;请输入硬盘大小，注意单位&quot; class=&quot;name form-control&quot;/&gt;' </span>+
<a name="l2129"><span class="ln">2129 </span></a>                <span class="s8">'&lt;select class=&quot;ypdx form-control&quot;&gt;&lt;option value=&quot;T&quot;&gt;T&lt;/option&gt;&lt;option value=&quot;G&quot;&gt;G&lt;/option&gt; &lt;/select&gt;' </span>+
<a name="l2130"><span class="ln">2130 </span></a>                <span class="s8">'&lt;/div&gt;' </span>+
<a name="l2131"><span class="ln">2131 </span></a>                <span class="s8">'&lt;/form&gt;'</span>,
<a name="l2132"><span class="ln">2132 </span></a>            buttons: {
<a name="l2133"><span class="ln">2133 </span></a>                jxypformSubmit: {
<a name="l2134"><span class="ln">2134 </span></a>                    text: <span class="s8">'机械硬盘'</span>,
<a name="l2135"><span class="ln">2135 </span></a>                    btnClass: <span class="s8">'btn-blue'</span>,
<a name="l2136"><span class="ln">2136 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2137"><span class="ln">2137 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2138"><span class="ln">2138 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2139"><span class="ln">2139 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2140"><span class="ln">2140 </span></a>                            $.alert(<span class="s8">'硬盘空间大小不能为空'</span>);
<a name="l2141"><span class="ln">2141 </span></a>                            <span class="s6">return false</span>;
<a name="l2142"><span class="ln">2142 </span></a>                        }
<a name="l2143"><span class="ln">2143 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2144"><span class="ln">2144 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2145"><span class="ln">2145 </span></a>                            <span class="s6">return false</span>;
<a name="l2146"><span class="ln">2146 </span></a>                        }
<a name="l2147"><span class="ln">2147 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2148"><span class="ln">2148 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2149"><span class="ln">2149 </span></a>                            <span class="s6">return false</span>;
<a name="l2150"><span class="ln">2150 </span></a>                        }
<a name="l2151"><span class="ln">2151 </span></a>                        $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(jxyp + name + ypdx);
<a name="l2152"><span class="ln">2152 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2153"><span class="ln">2153 </span></a>                    }
<a name="l2154"><span class="ln">2154 </span></a>                },
<a name="l2155"><span class="ln">2155 </span></a>
<a name="l2156"><span class="ln">2156 </span></a>                gtypformSubmit: {
<a name="l2157"><span class="ln">2157 </span></a>                    text: <span class="s8">'固态硬盘'</span>,
<a name="l2158"><span class="ln">2158 </span></a>                    btnClass: <span class="s8">'btn-green'</span>,
<a name="l2159"><span class="ln">2159 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2160"><span class="ln">2160 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2161"><span class="ln">2161 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2162"><span class="ln">2162 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2163"><span class="ln">2163 </span></a>                            $.alert(<span class="s8">'provide a valid name'</span>);
<a name="l2164"><span class="ln">2164 </span></a>                            <span class="s6">return false</span>;
<a name="l2165"><span class="ln">2165 </span></a>                        }
<a name="l2166"><span class="ln">2166 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2167"><span class="ln">2167 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2168"><span class="ln">2168 </span></a>                            <span class="s6">return false</span>;
<a name="l2169"><span class="ln">2169 </span></a>                        }
<a name="l2170"><span class="ln">2170 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2171"><span class="ln">2171 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2172"><span class="ln">2172 </span></a>                            <span class="s6">return false</span>;
<a name="l2173"><span class="ln">2173 </span></a>                        }
<a name="l2174"><span class="ln">2174 </span></a>                        $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(gtyp + name + ypdx);
<a name="l2175"><span class="ln">2175 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2176"><span class="ln">2176 </span></a>                    }
<a name="l2177"><span class="ln">2177 </span></a>                },
<a name="l2178"><span class="ln">2178 </span></a>                cancel: {
<a name="l2179"><span class="ln">2179 </span></a>                    text: <span class="s8">'取消'</span>,
<a name="l2180"><span class="ln">2180 </span></a>                    btnClass: <span class="s8">'btn-red'</span>,
<a name="l2181"><span class="ln">2181 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2182"><span class="ln">2182 </span></a>                        <span class="s5">//close</span>
<a name="l2183"><span class="ln">2183 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2184"><span class="ln">2184 </span></a>                    },
<a name="l2185"><span class="ln">2185 </span></a>                },
<a name="l2186"><span class="ln">2186 </span></a>            },
<a name="l2187"><span class="ln">2187 </span></a>        });
<a name="l2188"><span class="ln">2188 </span></a>    }
<a name="l2189"><span class="ln">2189 </span></a>
<a name="l2190"><span class="ln">2190 </span></a>    $(<span class="s8">'#ypdx_btn_1'</span>).click(<span class="s6">function </span>() {
<a name="l2191"><span class="ln">2191 </span></a>        ypdx_1()
<a name="l2192"><span class="ln">2192 </span></a>    });
<a name="l2193"><span class="ln">2193 </span></a>    <span class="s5">// $('#ypdx_id_1').bind('blur',function(){</span>
<a name="l2194"><span class="ln">2194 </span></a>    // $.ajax({
<a name="l2195"><span class="ln">2195 </span></a>    //     url:&quot;/nc/sbxxb/index&quot;,
<a name="l2196"><span class="ln">2196 </span></a>    //     type:&quot;get&quot;,
<a name="l2197"><span class="ln">2197 </span></a>    //     data:{&quot;op&quot;:[[${op}]]},
<a name="l2198"><span class="ln">2198 </span></a>    //     success:function (data) {
<a name="l2199"><span class="ln">2199 </span></a>    //         console.log(data)
<a name="l2200"><span class="ln">2200 </span></a>    //         if($(this).val().length!=0){
<a name="l2201"><span class="ln">2201 </span></a>    //             $(this).val($(this).val()+op)//添加字符
<a name="l2202"><span class="ln">2202 </span></a>    //         }
<a name="l2203"><span class="ln">2203 </span></a>    //     }
<a name="l2204"><span class="ln">2204 </span></a>    // })
<a name="l2205"><span class="ln">2205 </span></a>    // var op=[[${op}]];
<a name="l2206"><span class="ln">2206 </span></a>    // alert(op);
<a name="l2207"><span class="ln">2207 </span></a>    // var op=[[${yplxmc}]]
<a name="l2208"><span class="ln">2208 </span></a>    // var url= window.location.search;
<a name="l2209"><span class="ln">2209 </span></a>
<a name="l2210"><span class="ln">2210 </span></a>
<a name="l2211"><span class="ln">2211 </span></a>    //未用jquery-confirm
<a name="l2212"><span class="ln">2212 </span></a>    // var jxyp=&quot;机械硬盘&quot;;
<a name="l2213"><span class="ln">2213 </span></a>    // var gtyp=&quot;固态硬盘&quot;;
<a name="l2214"><span class="ln">2214 </span></a>    //
<a name="l2215"><span class="ln">2215 </span></a>    // if ($(&quot;#ypdx_id_1&quot;).val().length!=0) {
<a name="l2216"><span class="ln">2216 </span></a>    //     var msg=confirm(&quot;是机械硬盘按确定，固态硬盘按取消&quot;)
<a name="l2217"><span class="ln">2217 </span></a>    //     if (msg) {
<a name="l2218"><span class="ln">2218 </span></a>    //         $('#ypdx_id_2').removeAttr(&quot;readOnly&quot;)
<a name="l2219"><span class="ln">2219 </span></a>    //         $(this).val(jxyp+$(this).val());
<a name="l2220"><span class="ln">2220 </span></a>    //     }else {
<a name="l2221"><span class="ln">2221 </span></a>    //         $('#ypdx_id_2').removeAttr(&quot;readOnly&quot;)
<a name="l2222"><span class="ln">2222 </span></a>    //         $(this).val(gtyp+$(this).val());
<a name="l2223"><span class="ln">2223 </span></a>    //     }
<a name="l2224"><span class="ln">2224 </span></a>    //
<a name="l2225"><span class="ln">2225 </span></a>    // }else {
<a name="l2226"><span class="ln">2226 </span></a>    //     $(&quot;#ypdx_id_1&quot;).focus();
<a name="l2227"><span class="ln">2227 </span></a>    // }
<a name="l2228"><span class="ln">2228 </span></a>
<a name="l2229"><span class="ln">2229 </span></a>
<a name="l2230"><span class="ln">2230 </span></a>    // if($(&quot;#ypdx_id_1&quot;).val().length&lt;4&amp;&amp;$(&quot;#ypdx_id_1&quot;).val().length!=0){
<a name="l2231"><span class="ln">2231 </span></a>
<a name="l2232"><span class="ln">2232 </span></a>    //     }else if($(&quot;#ypdx_id_1&quot;).val().length&gt;=4){
<a name="l2233"><span class="ln">2233 </span></a>    //         $(&quot;#ypdx_sel_1&quot;).focus();
<a name="l2234"><span class="ln">2234 </span></a>    //     }else {
<a name="l2235"><span class="ln">2235 </span></a>    //         $(&quot;#ypdx_id_1&quot;).focus();
<a name="l2236"><span class="ln">2236 </span></a>    //     }
<a name="l2237"><span class="ln">2237 </span></a>    // })
<a name="l2238"><span class="ln">2238 </span></a>
<a name="l2239"><span class="ln">2239 </span></a>    <span class="s6">function </span>ypdx_2() {
<a name="l2240"><span class="ln">2240 </span></a>        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'hide'</span>);
<a name="l2241"><span class="ln">2241 </span></a>        $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2242"><span class="ln">2242 </span></a>        $.confirm({
<a name="l2243"><span class="ln">2243 </span></a>            title: <span class="s8">'硬盘一信息'</span>,
<a name="l2244"><span class="ln">2244 </span></a>            content: <span class="s8">'' </span>+
<a name="l2245"><span class="ln">2245 </span></a>                <span class="s8">'&lt;form action=&quot;&quot; class=&quot;formName&quot;&gt;' </span>+
<a name="l2246"><span class="ln">2246 </span></a>                <span class="s8">'&lt;div class=&quot;form-group&quot;&gt;' </span>+
<a name="l2247"><span class="ln">2247 </span></a>                <span class="s8">'&lt;label&gt;请先输入硬盘大小后，点击下拉框选择硬盘单位&lt;/label&gt;' </span>+
<a name="l2248"><span class="ln">2248 </span></a>                <span class="s8">'&lt;input type=&quot;text&quot; placeholder=&quot;请输入硬盘大小，注意单位&quot; class=&quot;name form-control&quot;/&gt;' </span>+
<a name="l2249"><span class="ln">2249 </span></a>                <span class="s8">'&lt;select class=&quot;ypdx form-control&quot;&gt;&lt;option value=&quot;T&quot;&gt;T&lt;/option&gt;&lt;option value=&quot;G&quot;&gt;G&lt;/option&gt; &lt;/select&gt;' </span>+
<a name="l2250"><span class="ln">2250 </span></a>                <span class="s8">'&lt;/div&gt;' </span>+
<a name="l2251"><span class="ln">2251 </span></a>                <span class="s8">'&lt;/form&gt;'</span>,
<a name="l2252"><span class="ln">2252 </span></a>            buttons: {
<a name="l2253"><span class="ln">2253 </span></a>                jxypformSubmit: {
<a name="l2254"><span class="ln">2254 </span></a>                    text: <span class="s8">'机械硬盘'</span>,
<a name="l2255"><span class="ln">2255 </span></a>                    btnClass: <span class="s8">'btn-blue'</span>,
<a name="l2256"><span class="ln">2256 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2257"><span class="ln">2257 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2258"><span class="ln">2258 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2259"><span class="ln">2259 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2260"><span class="ln">2260 </span></a>                            $.alert(<span class="s8">'硬盘空间大小不能为空'</span>);
<a name="l2261"><span class="ln">2261 </span></a>                            <span class="s6">return false</span>;
<a name="l2262"><span class="ln">2262 </span></a>                        }
<a name="l2263"><span class="ln">2263 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2264"><span class="ln">2264 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2265"><span class="ln">2265 </span></a>                            <span class="s6">return false</span>;
<a name="l2266"><span class="ln">2266 </span></a>                        }
<a name="l2267"><span class="ln">2267 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2268"><span class="ln">2268 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2269"><span class="ln">2269 </span></a>                            <span class="s6">return false</span>;
<a name="l2270"><span class="ln">2270 </span></a>                        }
<a name="l2271"><span class="ln">2271 </span></a>                        $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(jxyp + name + ypdx);
<a name="l2272"><span class="ln">2272 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2273"><span class="ln">2273 </span></a>                    }
<a name="l2274"><span class="ln">2274 </span></a>                },
<a name="l2275"><span class="ln">2275 </span></a>
<a name="l2276"><span class="ln">2276 </span></a>                gtypformSubmit: {
<a name="l2277"><span class="ln">2277 </span></a>                    text: <span class="s8">'固态硬盘'</span>,
<a name="l2278"><span class="ln">2278 </span></a>                    btnClass: <span class="s8">'btn-green'</span>,
<a name="l2279"><span class="ln">2279 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2280"><span class="ln">2280 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2281"><span class="ln">2281 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2282"><span class="ln">2282 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2283"><span class="ln">2283 </span></a>                            $.alert(<span class="s8">'provide a valid name'</span>);
<a name="l2284"><span class="ln">2284 </span></a>                            <span class="s6">return false</span>;
<a name="l2285"><span class="ln">2285 </span></a>                        }
<a name="l2286"><span class="ln">2286 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2287"><span class="ln">2287 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2288"><span class="ln">2288 </span></a>                            <span class="s6">return false</span>;
<a name="l2289"><span class="ln">2289 </span></a>                        }
<a name="l2290"><span class="ln">2290 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2291"><span class="ln">2291 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2292"><span class="ln">2292 </span></a>                            <span class="s6">return false</span>;
<a name="l2293"><span class="ln">2293 </span></a>                        }
<a name="l2294"><span class="ln">2294 </span></a>                        $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(gtyp + name + ypdx);
<a name="l2295"><span class="ln">2295 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2296"><span class="ln">2296 </span></a>                    }
<a name="l2297"><span class="ln">2297 </span></a>                },
<a name="l2298"><span class="ln">2298 </span></a>                cancel: {
<a name="l2299"><span class="ln">2299 </span></a>                    text: <span class="s8">'取消'</span>,
<a name="l2300"><span class="ln">2300 </span></a>                    btnClass: <span class="s8">'btn-red'</span>,
<a name="l2301"><span class="ln">2301 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2302"><span class="ln">2302 </span></a>                        <span class="s5">//close</span>
<a name="l2303"><span class="ln">2303 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2304"><span class="ln">2304 </span></a>                    },
<a name="l2305"><span class="ln">2305 </span></a>                },
<a name="l2306"><span class="ln">2306 </span></a>            },
<a name="l2307"><span class="ln">2307 </span></a>        });
<a name="l2308"><span class="ln">2308 </span></a>    }
<a name="l2309"><span class="ln">2309 </span></a>
<a name="l2310"><span class="ln">2310 </span></a>    $(<span class="s8">'#ypdx_btn_2'</span>).click(<span class="s6">function </span>() {
<a name="l2311"><span class="ln">2311 </span></a>        ypdx_2()
<a name="l2312"><span class="ln">2312 </span></a>    });
<a name="l2313"><span class="ln">2313 </span></a>
<a name="l2314"><span class="ln">2314 </span></a>    <span class="s6">function </span>ypdx_3() {
<a name="l2315"><span class="ln">2315 </span></a>        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'hide'</span>);
<a name="l2316"><span class="ln">2316 </span></a>        $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2317"><span class="ln">2317 </span></a>        $.confirm({
<a name="l2318"><span class="ln">2318 </span></a>            title: <span class="s8">'硬盘一信息'</span>,
<a name="l2319"><span class="ln">2319 </span></a>            content: <span class="s8">'' </span>+
<a name="l2320"><span class="ln">2320 </span></a>                <span class="s8">'&lt;form action=&quot;&quot; class=&quot;formName&quot;&gt;' </span>+
<a name="l2321"><span class="ln">2321 </span></a>                <span class="s8">'&lt;div class=&quot;form-group&quot;&gt;' </span>+
<a name="l2322"><span class="ln">2322 </span></a>                <span class="s8">'&lt;label&gt;请先输入硬盘大小后，点击下拉框选择硬盘单位&lt;/label&gt;' </span>+
<a name="l2323"><span class="ln">2323 </span></a>                <span class="s8">'&lt;input type=&quot;text&quot; placeholder=&quot;请输入硬盘大小，注意单位&quot; class=&quot;name form-control&quot;/&gt;' </span>+
<a name="l2324"><span class="ln">2324 </span></a>                <span class="s8">'&lt;select class=&quot;ypdx form-control&quot;&gt;&lt;option value=&quot;T&quot;&gt;T&lt;/option&gt;&lt;option value=&quot;G&quot;&gt;G&lt;/option&gt; &lt;/select&gt;' </span>+
<a name="l2325"><span class="ln">2325 </span></a>                <span class="s8">'&lt;/div&gt;' </span>+
<a name="l2326"><span class="ln">2326 </span></a>                <span class="s8">'&lt;/form&gt;'</span>,
<a name="l2327"><span class="ln">2327 </span></a>            buttons: {
<a name="l2328"><span class="ln">2328 </span></a>                jxypformSubmit: {
<a name="l2329"><span class="ln">2329 </span></a>                    text: <span class="s8">'机械硬盘'</span>,
<a name="l2330"><span class="ln">2330 </span></a>                    btnClass: <span class="s8">'btn-blue'</span>,
<a name="l2331"><span class="ln">2331 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2332"><span class="ln">2332 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2333"><span class="ln">2333 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2334"><span class="ln">2334 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2335"><span class="ln">2335 </span></a>                            $.alert(<span class="s8">'硬盘空间大小不能为空'</span>);
<a name="l2336"><span class="ln">2336 </span></a>                            <span class="s6">return false</span>;
<a name="l2337"><span class="ln">2337 </span></a>                        }
<a name="l2338"><span class="ln">2338 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2339"><span class="ln">2339 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2340"><span class="ln">2340 </span></a>                            <span class="s6">return false</span>;
<a name="l2341"><span class="ln">2341 </span></a>                        }
<a name="l2342"><span class="ln">2342 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2343"><span class="ln">2343 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2344"><span class="ln">2344 </span></a>                            <span class="s6">return false</span>;
<a name="l2345"><span class="ln">2345 </span></a>                        }
<a name="l2346"><span class="ln">2346 </span></a>                        $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(jxyp + name + ypdx);
<a name="l2347"><span class="ln">2347 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2348"><span class="ln">2348 </span></a>                    }
<a name="l2349"><span class="ln">2349 </span></a>                },
<a name="l2350"><span class="ln">2350 </span></a>
<a name="l2351"><span class="ln">2351 </span></a>                gtypformSubmit: {
<a name="l2352"><span class="ln">2352 </span></a>                    text: <span class="s8">'固态硬盘'</span>,
<a name="l2353"><span class="ln">2353 </span></a>                    btnClass: <span class="s8">'btn-green'</span>,
<a name="l2354"><span class="ln">2354 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2355"><span class="ln">2355 </span></a>                        <span class="s6">var </span>name = <span class="s6">this</span>.$content.find(<span class="s8">'.name'</span>).val();
<a name="l2356"><span class="ln">2356 </span></a>                        <span class="s6">var </span>ypdx = <span class="s6">this</span>.$content.find(<span class="s8">'.ypdx'</span>).val();
<a name="l2357"><span class="ln">2357 </span></a>                        <span class="s6">if </span>(!name) {
<a name="l2358"><span class="ln">2358 </span></a>                            $.alert(<span class="s8">'provide a valid name'</span>);
<a name="l2359"><span class="ln">2359 </span></a>                            <span class="s6">return false</span>;
<a name="l2360"><span class="ln">2360 </span></a>                        }
<a name="l2361"><span class="ln">2361 </span></a>                        <span class="s6">if </span>(name &lt;= <span class="s9">80 </span>&amp;&amp; ypdx == <span class="s8">&quot;G&quot;</span>) {
<a name="l2362"><span class="ln">2362 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为G，填写的硬盘大小不能小于80G'</span>);
<a name="l2363"><span class="ln">2363 </span></a>                            <span class="s6">return false</span>;
<a name="l2364"><span class="ln">2364 </span></a>                        }
<a name="l2365"><span class="ln">2365 </span></a>                        <span class="s6">if </span>(name &gt;= <span class="s9">50 </span>&amp;&amp; ypdx == <span class="s8">&quot;T&quot;</span>) {
<a name="l2366"><span class="ln">2366 </span></a>                            $.alert(<span class="s8">'硬盘空间单位为T，填写的硬盘大小不能大于50T'</span>);
<a name="l2367"><span class="ln">2367 </span></a>                            <span class="s6">return false</span>;
<a name="l2368"><span class="ln">2368 </span></a>                        }
<a name="l2369"><span class="ln">2369 </span></a>                        $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(gtyp + name + ypdx);
<a name="l2370"><span class="ln">2370 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2371"><span class="ln">2371 </span></a>                    }
<a name="l2372"><span class="ln">2372 </span></a>                },
<a name="l2373"><span class="ln">2373 </span></a>                cancel: {
<a name="l2374"><span class="ln">2374 </span></a>                    text: <span class="s8">'取消'</span>,
<a name="l2375"><span class="ln">2375 </span></a>                    btnClass: <span class="s8">'btn-red'</span>,
<a name="l2376"><span class="ln">2376 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2377"><span class="ln">2377 </span></a>                        <span class="s5">//close</span>
<a name="l2378"><span class="ln">2378 </span></a>                        $(<span class="s8">'#sbAddModal'</span>).modal(<span class="s8">'show'</span>);
<a name="l2379"><span class="ln">2379 </span></a>                    },
<a name="l2380"><span class="ln">2380 </span></a>                },
<a name="l2381"><span class="ln">2381 </span></a>            }
<a name="l2382"><span class="ln">2382 </span></a>        });
<a name="l2383"><span class="ln">2383 </span></a>    }
<a name="l2384"><span class="ln">2384 </span></a>
<a name="l2385"><span class="ln">2385 </span></a>    $(<span class="s8">'#ypdx_btn_3'</span>).click(<span class="s6">function </span>() {
<a name="l2386"><span class="ln">2386 </span></a>        ypdx_3()
<a name="l2387"><span class="ln">2387 </span></a>    });
<a name="l2388"><span class="ln">2388 </span></a>
<a name="l2389"><span class="ln">2389 </span></a>
<a name="l2390"><span class="ln">2390 </span></a>    <span class="s6">function </span>callback(index, layero) {
<a name="l2391"><span class="ln">2391 </span></a>        alert(<span class="s8">&quot;进入回调函数了&quot;</span>)
<a name="l2392"><span class="ln">2392 </span></a>        $.modal.closeAll()
<a name="l2393"><span class="ln">2393 </span></a>    }
<a name="l2394"><span class="ln">2394 </span></a>
<a name="l2395"><span class="ln">2395 </span></a>    <span class="s6">function </span>sbypdx() {
<a name="l2396"><span class="ln">2396 </span></a>        $.modal.open(<span class="s8">'添加用户'</span>, <span class="s8">&quot;/demo/modal/ypdx&quot;</span>, <span class="s8">'500'</span>, <span class="s8">'300'</span>, callback);
<a name="l2397"><span class="ln">2397 </span></a>    }
<a name="l2398"><span class="ln">2398 </span></a>
<a name="l2399"><span class="ln">2399 </span></a>    <span class="s5">/**</span>
<a name="l2400"><span class="ln">2400 </span></a>     * 当ip和Mac有初始值时，将其拆开，显示在每一个文本框中
<a name="l2401"><span class="ln">2401 </span></a>     * */
<a name="l2402"><span class="ln">2402 </span></a>        //添加 Mac
<a name="l2403"><span class="ln">2403 </span></a>    <span class="s6">var </span>macShow = <span class="s8">&quot;&quot;</span>;
<a name="l2404"><span class="ln">2404 </span></a>    <span class="s6">var </span>resultMac = macShow.split(<span class="s8">&quot;:&quot;</span>);
<a name="l2405"><span class="ln">2405 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac1&quot;</span>).val(resultMac[<span class="s9">0</span>]);
<a name="l2406"><span class="ln">2406 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac2&quot;</span>).val(resultMac[<span class="s9">1</span>]);
<a name="l2407"><span class="ln">2407 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac3&quot;</span>).val(resultMac[<span class="s9">2</span>]);
<a name="l2408"><span class="ln">2408 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac4&quot;</span>).val(resultMac[<span class="s9">3</span>]);
<a name="l2409"><span class="ln">2409 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac5&quot;</span>).val(resultMac[<span class="s9">4</span>]);
<a name="l2410"><span class="ln">2410 </span></a>    $(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).val(resultMac[<span class="s9">5</span>]);
<a name="l2411"><span class="ln">2411 </span></a>    <span class="s5">//修改mac</span>
<a name="l2412"><span class="ln">2412 </span></a>    <span class="s6">var </span>macShowupdate = <span class="s8">&quot;&quot;</span>;
<a name="l2413"><span class="ln">2413 </span></a>    <span class="s6">var </span>resultMacupdate = macShowupdate.split(<span class="s8">&quot;:&quot;</span>);
<a name="l2414"><span class="ln">2414 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac1update&quot;</span>).val(resultMacupdate[<span class="s9">0</span>]);
<a name="l2415"><span class="ln">2415 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac2update&quot;</span>).val(resultMacupdate[<span class="s9">1</span>]);
<a name="l2416"><span class="ln">2416 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac3update&quot;</span>).val(resultMacupdate[<span class="s9">2</span>]);
<a name="l2417"><span class="ln">2417 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac4update&quot;</span>).val(resultMacupdate[<span class="s9">3</span>]);
<a name="l2418"><span class="ln">2418 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac5update&quot;</span>).val(resultMacupdate[<span class="s9">4</span>]);
<a name="l2419"><span class="ln">2419 </span></a>    $(<span class="s8">&quot;#macdz_update&gt;.mac6update&quot;</span>).val(resultMacupdate[<span class="s9">5</span>]);
<a name="l2420"><span class="ln">2420 </span></a>
<a name="l2421"><span class="ln">2421 </span></a>    <span class="s5">//修改IP</span>
<a name="l2422"><span class="ln">2422 </span></a>    <span class="s6">var </span>ipShowupdate = <span class="s8">&quot;&quot;</span>;
<a name="l2423"><span class="ln">2423 </span></a>    <span class="s6">var </span>resultIpupdate = ipShowupdate.split(<span class="s8">&quot;.&quot;</span>);
<a name="l2424"><span class="ln">2424 </span></a>    $(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val(resultIpupdate[<span class="s9">0</span>]);
<a name="l2425"><span class="ln">2425 </span></a>    $(<span class="s8">&quot;#ipdz_update&gt;.ip2&quot;</span>).val(resultIpupdate[<span class="s9">1</span>]);
<a name="l2426"><span class="ln">2426 </span></a>    $(<span class="s8">&quot;#ipdz_update&gt;.ip3&quot;</span>).val(resultIpupdate[<span class="s9">2</span>]);
<a name="l2427"><span class="ln">2427 </span></a>    $(<span class="s8">&quot;#ipdz_update&gt;.ip4&quot;</span>).val(resultIpupdate[<span class="s9">3</span>]);
<a name="l2428"><span class="ln">2428 </span></a>    <span class="s5">// 添加ip</span>
<a name="l2429"><span class="ln">2429 </span></a>    <span class="s6">var </span>ipShow = <span class="s8">&quot;&quot;</span>;
<a name="l2430"><span class="ln">2430 </span></a>    <span class="s6">var </span>resultIp = ipShow.split(<span class="s8">&quot;.&quot;</span>);
<a name="l2431"><span class="ln">2431 </span></a>    $(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val(resultIp[<span class="s9">0</span>]);
<a name="l2432"><span class="ln">2432 </span></a>    $(<span class="s8">&quot;#ipdz_id&gt;.ip2&quot;</span>).val(resultIp[<span class="s9">1</span>]);
<a name="l2433"><span class="ln">2433 </span></a>    $(<span class="s8">&quot;#ipdz_id&gt;.ip3&quot;</span>).val(resultIp[<span class="s9">2</span>]);
<a name="l2434"><span class="ln">2434 </span></a>    $(<span class="s8">&quot;#ipdz_id&gt;.ip4&quot;</span>).val(resultIp[<span class="s9">3</span>]);
<a name="l2435"><span class="ln">2435 </span></a>
<a name="l2436"><span class="ln">2436 </span></a>    <span class="s5">/**</span>
<a name="l2437"><span class="ln">2437 </span></a>     * mac发生变化时调用即可
<a name="l2438"><span class="ln">2438 </span></a>     * 将每一个小格中的值获取到传给后台
<a name="l2439"><span class="ln">2439 </span></a>     * 如果小格中没有值则传空值，有值则传value值，并在后面加上：封号，最后一个不用加
<a name="l2440"><span class="ln">2440 </span></a>     * */
<a name="l2441"><span class="ln">2441 </span></a>    <span class="s6">function </span>macc() {
<a name="l2442"><span class="ln">2442 </span></a>        <span class="s6">var </span>mac1, mac2, mac3, mac4, mac5, mac6;
<a name="l2443"><span class="ln">2443 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac1&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2444"><span class="ln">2444 </span></a>            mac1 = <span class="s8">''</span>;
<a name="l2445"><span class="ln">2445 </span></a>        } <span class="s6">else </span>{
<a name="l2446"><span class="ln">2446 </span></a>            mac1 = $(<span class="s8">&quot;#macdz_id&gt;.mac1&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2447"><span class="ln">2447 </span></a>        }
<a name="l2448"><span class="ln">2448 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac2&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2449"><span class="ln">2449 </span></a>            mac2 = <span class="s8">''</span>;
<a name="l2450"><span class="ln">2450 </span></a>        } <span class="s6">else </span>{
<a name="l2451"><span class="ln">2451 </span></a>            mac2 = $(<span class="s8">&quot;#macdz_id&gt;.mac2&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2452"><span class="ln">2452 </span></a>        }
<a name="l2453"><span class="ln">2453 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac3&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2454"><span class="ln">2454 </span></a>            mac3 = <span class="s8">''</span>;
<a name="l2455"><span class="ln">2455 </span></a>        } <span class="s6">else </span>{
<a name="l2456"><span class="ln">2456 </span></a>            mac3 = $(<span class="s8">&quot;#macdz_id&gt;.mac3&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2457"><span class="ln">2457 </span></a>        }
<a name="l2458"><span class="ln">2458 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac4&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2459"><span class="ln">2459 </span></a>            mac4 = <span class="s8">''</span>;
<a name="l2460"><span class="ln">2460 </span></a>        } <span class="s6">else </span>{
<a name="l2461"><span class="ln">2461 </span></a>            mac4 = $(<span class="s8">&quot;#macdz_id&gt;.mac4&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2462"><span class="ln">2462 </span></a>        }
<a name="l2463"><span class="ln">2463 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac5&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2464"><span class="ln">2464 </span></a>            mac5 = <span class="s8">''</span>;
<a name="l2465"><span class="ln">2465 </span></a>        } <span class="s6">else </span>{
<a name="l2466"><span class="ln">2466 </span></a>            mac5 = $(<span class="s8">&quot;#macdz_id&gt;.mac5&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2467"><span class="ln">2467 </span></a>        }
<a name="l2468"><span class="ln">2468 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2469"><span class="ln">2469 </span></a>            mac6 = <span class="s8">''</span>;
<a name="l2470"><span class="ln">2470 </span></a>        } <span class="s6">else </span>{
<a name="l2471"><span class="ln">2471 </span></a>            mac6 = $(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).val();
<a name="l2472"><span class="ln">2472 </span></a>        }
<a name="l2473"><span class="ln">2473 </span></a>        <span class="s6">var </span>macc = mac1 + mac2 + mac3 + mac4 + mac5 + mac6;
<a name="l2474"><span class="ln">2474 </span></a>        $(<span class="s8">&quot;#mac&quot;</span>).val(macc);
<a name="l2475"><span class="ln">2475 </span></a>    }
<a name="l2476"><span class="ln">2476 </span></a>
<a name="l2477"><span class="ln">2477 </span></a>    <span class="s6">function </span>maccupdate() {
<a name="l2478"><span class="ln">2478 </span></a>        <span class="s6">var </span>mac1update, mac2update, mac3update, mac4update, mac5update, mac6update;
<a name="l2479"><span class="ln">2479 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac1update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2480"><span class="ln">2480 </span></a>            mac1update = $(<span class="s8">&quot;#macdz_update&gt;.mac1update&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2481"><span class="ln">2481 </span></a>        }
<a name="l2482"><span class="ln">2482 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac2update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2483"><span class="ln">2483 </span></a>            mac2update = $(<span class="s8">&quot;#macdz_update&gt;.mac2update&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2484"><span class="ln">2484 </span></a>        }
<a name="l2485"><span class="ln">2485 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac3update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2486"><span class="ln">2486 </span></a>            mac3update = $(<span class="s8">&quot;#macdz_update&gt;.mac3update&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2487"><span class="ln">2487 </span></a>        }
<a name="l2488"><span class="ln">2488 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac4update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2489"><span class="ln">2489 </span></a>            mac4update = $(<span class="s8">&quot;#macdz_update&gt;.mac4update&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2490"><span class="ln">2490 </span></a>        }
<a name="l2491"><span class="ln">2491 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac5update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2492"><span class="ln">2492 </span></a>            mac5update = $(<span class="s8">&quot;#macdz_update&gt;.mac5update&quot;</span>).val() + <span class="s8">'-'</span>;
<a name="l2493"><span class="ln">2493 </span></a>        }
<a name="l2494"><span class="ln">2494 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_update&gt;.mac6update&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2495"><span class="ln">2495 </span></a>            mac6update = $(<span class="s8">&quot;#macdz_update&gt;.mac6update&quot;</span>).val();
<a name="l2496"><span class="ln">2496 </span></a>        }
<a name="l2497"><span class="ln">2497 </span></a>        <span class="s6">var </span>maccupdate = mac1update + mac2update + mac3update + mac4update + mac5update + mac6update;
<a name="l2498"><span class="ln">2498 </span></a>        <span class="s5">// alert(maccupdate)</span>
<a name="l2499"><span class="ln">2499 </span></a>        <span class="s6">return </span>maccupdate;
<a name="l2500"><span class="ln">2500 </span></a>    }
<a name="l2501"><span class="ln">2501 </span></a>
<a name="l2502"><span class="ln">2502 </span></a>    <span class="s5">/**</span>
<a name="l2503"><span class="ln">2503 </span></a>     * ip发生变化时调用即可
<a name="l2504"><span class="ln">2504 </span></a>     * 同Mac一样
<a name="l2505"><span class="ln">2505 </span></a>     * */
<a name="l2506"><span class="ln">2506 </span></a>    <span class="s6">function </span>ipp() {
<a name="l2507"><span class="ln">2507 </span></a>        <span class="s6">var </span>ip1, ip2, ip3, ip4;
<a name="l2508"><span class="ln">2508 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2509"><span class="ln">2509 </span></a>            ip1 = <span class="s8">''</span>;
<a name="l2510"><span class="ln">2510 </span></a>        } <span class="s6">else </span>{
<a name="l2511"><span class="ln">2511 </span></a>            ip1 = $(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2512"><span class="ln">2512 </span></a>        }
<a name="l2513"><span class="ln">2513 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_id&gt;.ip2&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2514"><span class="ln">2514 </span></a>            ip2 = <span class="s8">''</span>;
<a name="l2515"><span class="ln">2515 </span></a>        } <span class="s6">else </span>{
<a name="l2516"><span class="ln">2516 </span></a>            ip2 = $(<span class="s8">&quot;#ipdz_id&gt;.ip2&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2517"><span class="ln">2517 </span></a>        }
<a name="l2518"><span class="ln">2518 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_id&gt;.ip3&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2519"><span class="ln">2519 </span></a>            ip3 = <span class="s8">''</span>;
<a name="l2520"><span class="ln">2520 </span></a>        } <span class="s6">else </span>{
<a name="l2521"><span class="ln">2521 </span></a>            ip3 = $(<span class="s8">&quot;#ipdz_id&gt;.ip3&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2522"><span class="ln">2522 </span></a>        }
<a name="l2523"><span class="ln">2523 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_id&gt;.ip4&quot;</span>).val() == <span class="s8">''</span>) {
<a name="l2524"><span class="ln">2524 </span></a>            ip4 = <span class="s8">''</span>;
<a name="l2525"><span class="ln">2525 </span></a>        } <span class="s6">else </span>{
<a name="l2526"><span class="ln">2526 </span></a>            ip4 = $(<span class="s8">&quot;#ipdz_id&gt;.ip4&quot;</span>).val();
<a name="l2527"><span class="ln">2527 </span></a>        }
<a name="l2528"><span class="ln">2528 </span></a>        <span class="s6">var </span>ipp = ip1 + ip2 + ip3 + ip4;
<a name="l2529"><span class="ln">2529 </span></a>        $(<span class="s8">&quot;#ip&quot;</span>).val(ipp);
<a name="l2530"><span class="ln">2530 </span></a>    }
<a name="l2531"><span class="ln">2531 </span></a>
<a name="l2532"><span class="ln">2532 </span></a>    <span class="s6">function </span>ippupdate() {
<a name="l2533"><span class="ln">2533 </span></a>        <span class="s6">var </span>ip1, ip2, ip3, ip4;
<a name="l2534"><span class="ln">2534 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2535"><span class="ln">2535 </span></a>            ip1 = $(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2536"><span class="ln">2536 </span></a>        }
<a name="l2537"><span class="ln">2537 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_update&gt;.ip2&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2538"><span class="ln">2538 </span></a>            ip2 = $(<span class="s8">&quot;#ipdz_update&gt;.ip2&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2539"><span class="ln">2539 </span></a>        }
<a name="l2540"><span class="ln">2540 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_update&gt;.ip3&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2541"><span class="ln">2541 </span></a>            ip3 = $(<span class="s8">&quot;#ipdz_update&gt;.ip3&quot;</span>).val() + <span class="s8">'.'</span>;
<a name="l2542"><span class="ln">2542 </span></a>        }
<a name="l2543"><span class="ln">2543 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_update&gt;.ip4&quot;</span>).val() != <span class="s8">''</span>) {
<a name="l2544"><span class="ln">2544 </span></a>            ip4 = $(<span class="s8">&quot;#ipdz_update&gt;.ip4&quot;</span>).val();
<a name="l2545"><span class="ln">2545 </span></a>        }
<a name="l2546"><span class="ln">2546 </span></a>        <span class="s6">var </span>ipp = ip1 + ip2 + ip3 + ip4;
<a name="l2547"><span class="ln">2547 </span></a>        <span class="s6">return </span>ipp;
<a name="l2548"><span class="ln">2548 </span></a>    }
<a name="l2549"><span class="ln">2549 </span></a>
<a name="l2550"><span class="ln">2550 </span></a>    <span class="s5">/**</span>
<a name="l2551"><span class="ln">2551 </span></a>     * mac地址格式
<a name="l2552"><span class="ln">2552 </span></a>     * 键盘按方向键上下左右，光标在四个input中来回切换
<a name="l2553"><span class="ln">2553 </span></a>     */
<a name="l2554"><span class="ln">2554 </span></a>    $(<span class="s8">'#macdz_id&gt;input'</span>).each(<span class="s6">function </span>(i, o) {
<a name="l2555"><span class="ln">2555 </span></a>        $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>, i);
<a name="l2556"><span class="ln">2556 </span></a>    })
<a name="l2557"><span class="ln">2557 </span></a>
<a name="l2558"><span class="ln">2558 </span></a>    $(<span class="s8">'#macdz_update&gt;input'</span>).each(<span class="s6">function </span>(i, o) {
<a name="l2559"><span class="ln">2559 </span></a>        $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>, i);
<a name="l2560"><span class="ln">2560 </span></a>    })
<a name="l2561"><span class="ln">2561 </span></a>
<a name="l2562"><span class="ln">2562 </span></a>    $(<span class="s8">'#macdz_id&gt;input'</span>).keydown(<span class="s6">function </span>(event) {
<a name="l2563"><span class="ln">2563 </span></a>        <span class="s6">var </span>keycode = event.which;
<a name="l2564"><span class="ln">2564 </span></a>        <span class="s5">//从最后一个小格开始删除，删完之后直接跳到前一个小格中继续删除</span>
<a name="l2565"><span class="ln">2565 </span></a>        <span class="s6">if </span>(event.keyCode == <span class="s9">8 </span>&amp;&amp; $(<span class="s6">this</span>).val().length == <span class="s9">0</span>) {
<a name="l2566"><span class="ln">2566 </span></a>            $(<span class="s6">this</span>).prev().focus();
<a name="l2567"><span class="ln">2567 </span></a>        }
<a name="l2568"><span class="ln">2568 </span></a>        <span class="s6">if </span>(<span class="s9">38 </span>!= keycode &amp;&amp; <span class="s9">40 </span>!= keycode &amp;&amp; <span class="s9">37 </span>!= keycode &amp;&amp; <span class="s9">39 </span>!= keycode) {
<a name="l2569"><span class="ln">2569 </span></a>            <span class="s6">return</span>;
<a name="l2570"><span class="ln">2570 </span></a>        }
<a name="l2571"><span class="ln">2571 </span></a>        <span class="s6">var </span>ti = $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>);
<a name="l2572"><span class="ln">2572 </span></a>        <span class="s6">if </span>(<span class="s9">39 </span>== keycode || <span class="s9">40 </span>== keycode) {
<a name="l2573"><span class="ln">2573 </span></a>            <span class="s5">//down</span>
<a name="l2574"><span class="ln">2574 </span></a>            ti++;
<a name="l2575"><span class="ln">2575 </span></a>        } <span class="s6">else </span>{
<a name="l2576"><span class="ln">2576 </span></a>            <span class="s5">//up</span>
<a name="l2577"><span class="ln">2577 </span></a>            ti--;
<a name="l2578"><span class="ln">2578 </span></a>        }
<a name="l2579"><span class="ln">2579 </span></a>        <span class="s6">if </span>(ti &lt; <span class="s9">0</span>) {
<a name="l2580"><span class="ln">2580 </span></a>            ti = <span class="s9">0</span>;
<a name="l2581"><span class="ln">2581 </span></a>        }
<a name="l2582"><span class="ln">2582 </span></a>        <span class="s6">var </span>next_obj = $(<span class="s8">'#macdz_id&gt;input[cust_index=' </span>+ ti + <span class="s8">']'</span>);
<a name="l2583"><span class="ln">2583 </span></a>        <span class="s6">if </span>(next_obj) {
<a name="l2584"><span class="ln">2584 </span></a>            next_obj.focus();
<a name="l2585"><span class="ln">2585 </span></a>        }
<a name="l2586"><span class="ln">2586 </span></a>    })
<a name="l2587"><span class="ln">2587 </span></a>
<a name="l2588"><span class="ln">2588 </span></a>    $(<span class="s8">'#macdz_update&gt;input'</span>).keydown(<span class="s6">function </span>(event) {
<a name="l2589"><span class="ln">2589 </span></a>        <span class="s6">var </span>keycode = event.which;
<a name="l2590"><span class="ln">2590 </span></a>        <span class="s5">//从最后一个小格开始删除，删完之后直接跳到前一个小格中继续删除</span>
<a name="l2591"><span class="ln">2591 </span></a>        <span class="s6">if </span>(event.keyCode == <span class="s9">8 </span>&amp;&amp; $(<span class="s6">this</span>).val().length == <span class="s9">0</span>) {
<a name="l2592"><span class="ln">2592 </span></a>            $(<span class="s6">this</span>).prev().focus();
<a name="l2593"><span class="ln">2593 </span></a>        }
<a name="l2594"><span class="ln">2594 </span></a>        <span class="s6">if </span>(<span class="s9">38 </span>!= keycode &amp;&amp; <span class="s9">40 </span>!= keycode &amp;&amp; <span class="s9">37 </span>!= keycode &amp;&amp; <span class="s9">39 </span>!= keycode) {
<a name="l2595"><span class="ln">2595 </span></a>            <span class="s6">return</span>;
<a name="l2596"><span class="ln">2596 </span></a>        }
<a name="l2597"><span class="ln">2597 </span></a>        <span class="s6">var </span>ti = $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>);
<a name="l2598"><span class="ln">2598 </span></a>        <span class="s6">if </span>(<span class="s9">39 </span>== keycode || <span class="s9">40 </span>== keycode) {
<a name="l2599"><span class="ln">2599 </span></a>            <span class="s5">//down</span>
<a name="l2600"><span class="ln">2600 </span></a>            ti++;
<a name="l2601"><span class="ln">2601 </span></a>        } <span class="s6">else </span>{
<a name="l2602"><span class="ln">2602 </span></a>            <span class="s5">//up</span>
<a name="l2603"><span class="ln">2603 </span></a>            ti--;
<a name="l2604"><span class="ln">2604 </span></a>        }
<a name="l2605"><span class="ln">2605 </span></a>        <span class="s6">if </span>(ti &lt; <span class="s9">0</span>) {
<a name="l2606"><span class="ln">2606 </span></a>            ti = <span class="s9">0</span>;
<a name="l2607"><span class="ln">2607 </span></a>        }
<a name="l2608"><span class="ln">2608 </span></a>        <span class="s6">var </span>next_obj = $(<span class="s8">'#macdz_update&gt;input[cust_index=' </span>+ ti + <span class="s8">']'</span>);
<a name="l2609"><span class="ln">2609 </span></a>        <span class="s6">if </span>(next_obj) {
<a name="l2610"><span class="ln">2610 </span></a>            next_obj.focus();
<a name="l2611"><span class="ln">2611 </span></a>        }
<a name="l2612"><span class="ln">2612 </span></a>    })
<a name="l2613"><span class="ln">2613 </span></a>
<a name="l2614"><span class="ln">2614 </span></a>
<a name="l2615"><span class="ln">2615 </span></a>    <span class="s5">/**</span>
<a name="l2616"><span class="ln">2616 </span></a>     * 限制mac输入，以及跳下一格的条件
<a name="l2617"><span class="ln">2617 </span></a>     * */
<a name="l2618"><span class="ln">2618 </span></a>    $(<span class="s8">'#macdz_id&gt;input'</span>).bind(<span class="s8">'input propertychange'</span>, <span class="s6">function </span>() {
<a name="l2619"><span class="ln">2619 </span></a>        <span class="s5">//限制mac只能输入数字母</span>
<a name="l2620"><span class="ln">2620 </span></a>        <span class="s6">var </span>c = $(<span class="s6">this</span>);
<a name="l2621"><span class="ln">2621 </span></a>        <span class="s5">//截取输入的最后一个字符</span>
<a name="l2622"><span class="ln">2622 </span></a>        <span class="s6">var </span>lastStr = c.val().substr(c.val().trim().length - <span class="s9">1</span>, <span class="s9">1</span>);
<a name="l2623"><span class="ln">2623 </span></a>        <span class="s6">if </span>(<span class="s9">/[^\w]/</span>.test(c.val())) {
<a name="l2624"><span class="ln">2624 </span></a>            <span class="s5">//替换非字母和数字字符，当输入不是字母或数字的时候用空替换</span>
<a name="l2625"><span class="ln">2625 </span></a>            <span class="s6">var </span>temp_amount = c.val().replace(<span class="s9">/[^\w]/g</span>, <span class="s8">''</span>);
<a name="l2626"><span class="ln">2626 </span></a>            $(<span class="s6">this</span>).val(temp_amount);
<a name="l2627"><span class="ln">2627 </span></a>            <span class="s5">// 当前小格输入的最后一个字符是.并且长度不等于空</span>
<a name="l2628"><span class="ln">2628 </span></a>            <span class="s6">if </span>(<span class="s9">/[-]/</span>.test(lastStr) &amp;&amp; $(<span class="s6">this</span>).val() != <span class="s8">''</span>) {
<a name="l2629"><span class="ln">2629 </span></a>                $(<span class="s6">this</span>).next().focus();
<a name="l2630"><span class="ln">2630 </span></a>            }
<a name="l2631"><span class="ln">2631 </span></a>        }
<a name="l2632"><span class="ln">2632 </span></a>        <span class="s5">//当前小格输入长度为2时自动跳到下一格</span>
<a name="l2633"><span class="ln">2633 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length == <span class="s9">2</span>) {
<a name="l2634"><span class="ln">2634 </span></a>            $(<span class="s6">this</span>).next().focus();
<a name="l2635"><span class="ln">2635 </span></a>        }
<a name="l2636"><span class="ln">2636 </span></a>    })
<a name="l2637"><span class="ln">2637 </span></a>
<a name="l2638"><span class="ln">2638 </span></a>    $(<span class="s8">'#macdz_update&gt;input'</span>).bind(<span class="s8">'input propertychange'</span>, <span class="s6">function </span>() {
<a name="l2639"><span class="ln">2639 </span></a>        <span class="s5">//限制mac只能输入数字母</span>
<a name="l2640"><span class="ln">2640 </span></a>        <span class="s6">var </span>c = $(<span class="s6">this</span>);
<a name="l2641"><span class="ln">2641 </span></a>        <span class="s5">//截取输入的最后一个字符</span>
<a name="l2642"><span class="ln">2642 </span></a>        <span class="s6">var </span>lastStr = c.val().substr(c.val().trim().length - <span class="s9">1</span>, <span class="s9">1</span>);
<a name="l2643"><span class="ln">2643 </span></a>        <span class="s6">if </span>(<span class="s9">/[^\w]/</span>.test(c.val())) {
<a name="l2644"><span class="ln">2644 </span></a>            <span class="s5">//替换非字母和数字字符，当输入不是字母或数字的时候用空替换</span>
<a name="l2645"><span class="ln">2645 </span></a>            <span class="s6">var </span>temp_amount = c.val().replace(<span class="s9">/[^\w]/g</span>, <span class="s8">''</span>);
<a name="l2646"><span class="ln">2646 </span></a>            $(<span class="s6">this</span>).val(temp_amount);
<a name="l2647"><span class="ln">2647 </span></a>            <span class="s5">// 当前小格输入的最后一个字符是.并且长度不等于空</span>
<a name="l2648"><span class="ln">2648 </span></a>            <span class="s6">if </span>(<span class="s9">/[-]/</span>.test(lastStr) &amp;&amp; $(<span class="s6">this</span>).val() != <span class="s8">''</span>) {
<a name="l2649"><span class="ln">2649 </span></a>                $(<span class="s6">this</span>).next().focus();
<a name="l2650"><span class="ln">2650 </span></a>            }
<a name="l2651"><span class="ln">2651 </span></a>        }
<a name="l2652"><span class="ln">2652 </span></a>        <span class="s5">//当前小格输入长度为2时自动跳到下一格</span>
<a name="l2653"><span class="ln">2653 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length == <span class="s9">2</span>) {
<a name="l2654"><span class="ln">2654 </span></a>            $(<span class="s6">this</span>).next().focus();
<a name="l2655"><span class="ln">2655 </span></a>        }
<a name="l2656"><span class="ln">2656 </span></a>    })
<a name="l2657"><span class="ln">2657 </span></a>
<a name="l2658"><span class="ln">2658 </span></a>    $(<span class="s8">'#macdz_id&gt;input'</span>).bind(<span class="s8">'blur'</span>, <span class="s6">function </span>() {
<a name="l2659"><span class="ln">2659 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length &lt; <span class="s9">2</span>) {
<a name="l2660"><span class="ln">2660 </span></a>            $(<span class="s6">this</span>).focus();
<a name="l2661"><span class="ln">2661 </span></a>            <span class="s6">return false</span>;
<a name="l2662"><span class="ln">2662 </span></a>        }
<a name="l2663"><span class="ln">2663 </span></a>        macc();
<a name="l2664"><span class="ln">2664 </span></a>    })
<a name="l2665"><span class="ln">2665 </span></a>
<a name="l2666"><span class="ln">2666 </span></a>    $(<span class="s8">'#macdz_update&gt;input'</span>).bind(<span class="s8">'blur'</span>, <span class="s6">function </span>() {
<a name="l2667"><span class="ln">2667 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length == <span class="s9">2</span>) {
<a name="l2668"><span class="ln">2668 </span></a>            $(<span class="s8">&quot;#macupdate&quot;</span>).val(maccupdate())
<a name="l2669"><span class="ln">2669 </span></a>        }
<a name="l2670"><span class="ln">2670 </span></a>    })
<a name="l2671"><span class="ln">2671 </span></a>
<a name="l2672"><span class="ln">2672 </span></a>
<a name="l2673"><span class="ln">2673 </span></a>    $(<span class="s8">'#macdz_id&gt;.mac6'</span>).bind(<span class="s8">'blur'</span>, <span class="s6">function </span>() {
<a name="l2674"><span class="ln">2674 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).val().trim().length &lt; <span class="s9">2</span>) {
<a name="l2675"><span class="ln">2675 </span></a>            $(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).focus();
<a name="l2676"><span class="ln">2676 </span></a>            <span class="s6">return false</span>;
<a name="l2677"><span class="ln">2677 </span></a>        }
<a name="l2678"><span class="ln">2678 </span></a>        macc();
<a name="l2679"><span class="ln">2679 </span></a>    })
<a name="l2680"><span class="ln">2680 </span></a>
<a name="l2681"><span class="ln">2681 </span></a>    <span class="s5">/**</span>
<a name="l2682"><span class="ln">2682 </span></a>     * 限制ip输入，以及跳下一格的条件
<a name="l2683"><span class="ln">2683 </span></a>     * */
<a name="l2684"><span class="ln">2684 </span></a>    $(<span class="s8">'#ipdz_id&gt;input'</span>).bind(<span class="s8">'input propertychange'</span>, <span class="s6">function </span>() {
<a name="l2685"><span class="ln">2685 </span></a>        <span class="s5">// 输入不是数字的时候清空</span>
<a name="l2686"><span class="ln">2686 </span></a>        <span class="s6">var </span>c = $(<span class="s6">this</span>);
<a name="l2687"><span class="ln">2687 </span></a>        <span class="s5">//截取输入的最后一个字符</span>
<a name="l2688"><span class="ln">2688 </span></a>        <span class="s6">var </span>lastStr = c.val().substr(c.val().trim().length - <span class="s9">1</span>, <span class="s9">1</span>);
<a name="l2689"><span class="ln">2689 </span></a>        <span class="s6">if </span>(<span class="s9">/[^\d]/</span>.test(c.val())) {
<a name="l2690"><span class="ln">2690 </span></a>            <span class="s5">//替换非数字字符</span>
<a name="l2691"><span class="ln">2691 </span></a>            <span class="s6">var </span>temp_amount = c.val().replace(<span class="s9">/[^\d]/g</span>, <span class="s8">''</span>);
<a name="l2692"><span class="ln">2692 </span></a>            $(<span class="s6">this</span>).val(temp_amount);
<a name="l2693"><span class="ln">2693 </span></a>            <span class="s5">// 当前小格输入的最后一个字符是.并且长度不等于空</span>
<a name="l2694"><span class="ln">2694 </span></a>            <span class="s6">if </span>(<span class="s9">/[.]/</span>.test(lastStr) &amp;&amp; $(<span class="s6">this</span>).val() != <span class="s8">''</span>) {
<a name="l2695"><span class="ln">2695 </span></a>                $(<span class="s6">this</span>).next().focus();
<a name="l2696"><span class="ln">2696 </span></a>            }
<a name="l2697"><span class="ln">2697 </span></a>        }
<a name="l2698"><span class="ln">2698 </span></a>        <span class="s5">// 第二，三，四位输入不在0-255之间的时候清空</span>
<a name="l2699"><span class="ln">2699 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val() &lt; <span class="s9">0 </span>|| $(<span class="s6">this</span>).val() &gt; <span class="s9">255</span>) {
<a name="l2700"><span class="ln">2700 </span></a>            $(<span class="s6">this</span>).val(<span class="s8">''</span>);
<a name="l2701"><span class="ln">2701 </span></a>        }
<a name="l2702"><span class="ln">2702 </span></a>        <span class="s5">//第一位输入不在1-223之间的时候清空</span>
<a name="l2703"><span class="ln">2703 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val() &lt; <span class="s9">1 </span>|| $(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val() &gt; <span class="s9">223</span>) {
<a name="l2704"><span class="ln">2704 </span></a>            $(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val(<span class="s8">''</span>);
<a name="l2705"><span class="ln">2705 </span></a>        }
<a name="l2706"><span class="ln">2706 </span></a>        <span class="s5">//当每一小格输入的长度等于3时，自动跳到下一个</span>
<a name="l2707"><span class="ln">2707 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length == <span class="s9">3</span>) {
<a name="l2708"><span class="ln">2708 </span></a>            $(<span class="s6">this</span>).next().focus();
<a name="l2709"><span class="ln">2709 </span></a>        }
<a name="l2710"><span class="ln">2710 </span></a>        ipp();
<a name="l2711"><span class="ln">2711 </span></a>    })
<a name="l2712"><span class="ln">2712 </span></a>
<a name="l2713"><span class="ln">2713 </span></a>
<a name="l2714"><span class="ln">2714 </span></a>    $(<span class="s8">'#ipdz_update&gt;input'</span>).bind(<span class="s8">'input propertychange'</span>, <span class="s6">function </span>() {
<a name="l2715"><span class="ln">2715 </span></a>        <span class="s5">// 输入不是数字的时候清空</span>
<a name="l2716"><span class="ln">2716 </span></a>        <span class="s6">var </span>c = $(<span class="s6">this</span>);
<a name="l2717"><span class="ln">2717 </span></a>        <span class="s5">//截取输入的最后一个字符</span>
<a name="l2718"><span class="ln">2718 </span></a>        <span class="s6">var </span>lastStr = c.val().substr(c.val().trim().length - <span class="s9">1</span>, <span class="s9">1</span>);
<a name="l2719"><span class="ln">2719 </span></a>        <span class="s6">if </span>(<span class="s9">/[^\d]/</span>.test(c.val())) {
<a name="l2720"><span class="ln">2720 </span></a>            <span class="s5">//替换非数字字符</span>
<a name="l2721"><span class="ln">2721 </span></a>            <span class="s6">var </span>temp_amount = c.val().replace(<span class="s9">/[^\d]/g</span>, <span class="s8">''</span>);
<a name="l2722"><span class="ln">2722 </span></a>            $(<span class="s6">this</span>).val(temp_amount);
<a name="l2723"><span class="ln">2723 </span></a>            <span class="s5">// 当前小格输入的最后一个字符是.并且长度不等于空</span>
<a name="l2724"><span class="ln">2724 </span></a>            <span class="s6">if </span>(<span class="s9">/[.]/</span>.test(lastStr) &amp;&amp; $(<span class="s6">this</span>).val() != <span class="s8">''</span>) {
<a name="l2725"><span class="ln">2725 </span></a>                $(<span class="s6">this</span>).next().focus();
<a name="l2726"><span class="ln">2726 </span></a>            }
<a name="l2727"><span class="ln">2727 </span></a>        }
<a name="l2728"><span class="ln">2728 </span></a>        <span class="s5">// 第二，三，四位输入不在0-255之间的时候清空</span>
<a name="l2729"><span class="ln">2729 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val() &lt; <span class="s9">0 </span>|| $(<span class="s6">this</span>).val() &gt; <span class="s9">255</span>) {
<a name="l2730"><span class="ln">2730 </span></a>            $(<span class="s6">this</span>).val(<span class="s8">''</span>);
<a name="l2731"><span class="ln">2731 </span></a>        }
<a name="l2732"><span class="ln">2732 </span></a>        <span class="s5">//第一位输入不在1-223之间的时候清空</span>
<a name="l2733"><span class="ln">2733 </span></a>        <span class="s6">if </span>($(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val() &lt; <span class="s9">1 </span>|| $(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val() &gt; <span class="s9">223</span>) {
<a name="l2734"><span class="ln">2734 </span></a>            $(<span class="s8">&quot;#ipdz_update&gt;.ip1&quot;</span>).val(<span class="s8">''</span>);
<a name="l2735"><span class="ln">2735 </span></a>        }
<a name="l2736"><span class="ln">2736 </span></a>        <span class="s5">//当每一小格输入的长度等于3时，自动跳到下一个</span>
<a name="l2737"><span class="ln">2737 </span></a>        <span class="s6">if </span>($(<span class="s6">this</span>).val().trim().length == <span class="s9">3</span>) {
<a name="l2738"><span class="ln">2738 </span></a>            $(<span class="s6">this</span>).next().focus();
<a name="l2739"><span class="ln">2739 </span></a>        }
<a name="l2740"><span class="ln">2740 </span></a>        $(<span class="s8">&quot;#ipupdate&quot;</span>).val(ippupdate())
<a name="l2741"><span class="ln">2741 </span></a>    })
<a name="l2742"><span class="ln">2742 </span></a>
<a name="l2743"><span class="ln">2743 </span></a>
<a name="l2744"><span class="ln">2744 </span></a>    <span class="s5">/**</span>
<a name="l2745"><span class="ln">2745 </span></a>     * ip地址格式
<a name="l2746"><span class="ln">2746 </span></a>     * 键盘按方向键上下左右，光标在四个input中来回切换
<a name="l2747"><span class="ln">2747 </span></a>     */
<a name="l2748"><span class="ln">2748 </span></a>    $(<span class="s8">'#ipdz_id&gt;input'</span>).each(<span class="s6">function </span>(i, o) {
<a name="l2749"><span class="ln">2749 </span></a>        $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>, i);
<a name="l2750"><span class="ln">2750 </span></a>    })
<a name="l2751"><span class="ln">2751 </span></a>
<a name="l2752"><span class="ln">2752 </span></a>    $(<span class="s8">'#ipdz_update&gt;input'</span>).each(<span class="s6">function </span>(i, o) {
<a name="l2753"><span class="ln">2753 </span></a>        $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>, i);
<a name="l2754"><span class="ln">2754 </span></a>    })
<a name="l2755"><span class="ln">2755 </span></a>
<a name="l2756"><span class="ln">2756 </span></a>    $(<span class="s8">'#ipdz_id&gt;input'</span>).keydown(<span class="s6">function </span>(event) {
<a name="l2757"><span class="ln">2757 </span></a>        <span class="s6">var </span>keycode = event.which;
<a name="l2758"><span class="ln">2758 </span></a>        <span class="s5">//从最后一个小格开始删除，删完之后直接跳到前一个小格中继续删除</span>
<a name="l2759"><span class="ln">2759 </span></a>        <span class="s6">if </span>(event.keyCode == <span class="s9">8 </span>&amp;&amp; $(<span class="s6">this</span>).val().length == <span class="s9">0</span>) {
<a name="l2760"><span class="ln">2760 </span></a>            $(<span class="s6">this</span>).prev().focus();
<a name="l2761"><span class="ln">2761 </span></a>        }
<a name="l2762"><span class="ln">2762 </span></a>        <span class="s6">if </span>(<span class="s9">38 </span>!= keycode &amp;&amp; <span class="s9">40 </span>!= keycode &amp;&amp; <span class="s9">37 </span>!= keycode &amp;&amp; <span class="s9">39 </span>!= keycode) {
<a name="l2763"><span class="ln">2763 </span></a>            <span class="s6">return</span>;
<a name="l2764"><span class="ln">2764 </span></a>        }
<a name="l2765"><span class="ln">2765 </span></a>        <span class="s6">var </span>ti = $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>);
<a name="l2766"><span class="ln">2766 </span></a>        <span class="s6">if </span>(<span class="s9">39 </span>== keycode || <span class="s9">40 </span>== keycode) {
<a name="l2767"><span class="ln">2767 </span></a>            <span class="s5">//down</span>
<a name="l2768"><span class="ln">2768 </span></a>            ti++;
<a name="l2769"><span class="ln">2769 </span></a>        } <span class="s6">else </span>{
<a name="l2770"><span class="ln">2770 </span></a>            <span class="s5">//up</span>
<a name="l2771"><span class="ln">2771 </span></a>            ti--;
<a name="l2772"><span class="ln">2772 </span></a>        }
<a name="l2773"><span class="ln">2773 </span></a>        <span class="s6">if </span>(ti &lt; <span class="s9">0</span>) {
<a name="l2774"><span class="ln">2774 </span></a>            ti = <span class="s9">0</span>;
<a name="l2775"><span class="ln">2775 </span></a>        }
<a name="l2776"><span class="ln">2776 </span></a>        <span class="s6">var </span>next_obj = $(<span class="s8">'#ipdz_id&gt;input[cust_index=' </span>+ ti + <span class="s8">']'</span>);
<a name="l2777"><span class="ln">2777 </span></a>        <span class="s6">if </span>(next_obj) {
<a name="l2778"><span class="ln">2778 </span></a>            next_obj.focus();
<a name="l2779"><span class="ln">2779 </span></a>        }
<a name="l2780"><span class="ln">2780 </span></a>    })
<a name="l2781"><span class="ln">2781 </span></a>
<a name="l2782"><span class="ln">2782 </span></a>    $(<span class="s8">'#ipdz_update&gt;input'</span>).keydown(<span class="s6">function </span>(event) {
<a name="l2783"><span class="ln">2783 </span></a>        <span class="s6">var </span>keycode = event.which;
<a name="l2784"><span class="ln">2784 </span></a>        <span class="s5">//从最后一个小格开始删除，删完之后直接跳到前一个小格中继续删除</span>
<a name="l2785"><span class="ln">2785 </span></a>        <span class="s6">if </span>(event.keyCode == <span class="s9">8 </span>&amp;&amp; $(<span class="s6">this</span>).val().length == <span class="s9">0</span>) {
<a name="l2786"><span class="ln">2786 </span></a>            $(<span class="s6">this</span>).prev().focus();
<a name="l2787"><span class="ln">2787 </span></a>        }
<a name="l2788"><span class="ln">2788 </span></a>        <span class="s6">if </span>(<span class="s9">38 </span>!= keycode &amp;&amp; <span class="s9">40 </span>!= keycode &amp;&amp; <span class="s9">37 </span>!= keycode &amp;&amp; <span class="s9">39 </span>!= keycode) {
<a name="l2789"><span class="ln">2789 </span></a>            <span class="s6">return</span>;
<a name="l2790"><span class="ln">2790 </span></a>        }
<a name="l2791"><span class="ln">2791 </span></a>        <span class="s6">var </span>ti = $(<span class="s6">this</span>).attr(<span class="s8">'cust_index'</span>);
<a name="l2792"><span class="ln">2792 </span></a>        <span class="s6">if </span>(<span class="s9">39 </span>== keycode || <span class="s9">40 </span>== keycode) {
<a name="l2793"><span class="ln">2793 </span></a>            <span class="s5">//down</span>
<a name="l2794"><span class="ln">2794 </span></a>            ti++;
<a name="l2795"><span class="ln">2795 </span></a>        } <span class="s6">else </span>{
<a name="l2796"><span class="ln">2796 </span></a>            <span class="s5">//up</span>
<a name="l2797"><span class="ln">2797 </span></a>            ti--;
<a name="l2798"><span class="ln">2798 </span></a>        }
<a name="l2799"><span class="ln">2799 </span></a>        <span class="s6">if </span>(ti &lt; <span class="s9">0</span>) {
<a name="l2800"><span class="ln">2800 </span></a>            ti = <span class="s9">0</span>;
<a name="l2801"><span class="ln">2801 </span></a>        }
<a name="l2802"><span class="ln">2802 </span></a>        <span class="s6">var </span>next_obj = $(<span class="s8">'#ipdz_update&gt;input[cust_index=' </span>+ ti + <span class="s8">']'</span>);
<a name="l2803"><span class="ln">2803 </span></a>        <span class="s6">if </span>(next_obj) {
<a name="l2804"><span class="ln">2804 </span></a>            next_obj.focus();
<a name="l2805"><span class="ln">2805 </span></a>        }
<a name="l2806"><span class="ln">2806 </span></a>    })
<a name="l2807"><span class="ln">2807 </span></a>    <span class="s5">// let sbhb_sel_index=&quot;&quot;</span>
<a name="l2808"><span class="ln">2808 </span></a>    // $('#sbbh_sel').click(function () {
<a name="l2809"><span class="ln">2809 </span></a>    //     sbhb_sel_index = document.getElementById(&quot;sbbh_sel&quot;).selectedIndex;
<a name="l2810"><span class="ln">2810 </span></a>    // })
<a name="l2811"><span class="ln">2811 </span></a>
<a name="l2812"><span class="ln">2812 </span></a>
<a name="l2813"><span class="ln">2813 </span></a>    // $(function () {
<a name="l2814"><span class="ln">2814 </span></a>    //     var mysel = $(&quot;#sbbh_sel&quot;);
<a name="l2815"><span class="ln">2815 </span></a>    //     // var mysel = document.getElementById(&quot;sbbh_sel&quot;);
<a name="l2816"><span class="ln">2816 </span></a>    //     mysel.data(&quot;last&quot;, mysel.val()).change(function () {
<a name="l2817"><span class="ln">2817 </span></a>    //         var oldvalue = mysel.data(&quot;last&quot;).; //这次改变之前的值
<a name="l2818"><span class="ln">2818 </span></a>    //         mysel.data(&quot;last&quot;, mysel.val()); //每次改变都附加上去，以便下次变化时获取 改变之前获取并保存
<a name="l2819"><span class="ln">2819 </span></a>    //         var newvalue = mysel.val(); //当前选中值
<a name="l2820"><span class="ln">2820 </span></a>    //         alert(&quot;改变前的值：&quot;+oldvalue+&quot;,改变后的值：&quot;+newvalue);
<a name="l2821"><span class="ln">2821 </span></a>    //     });
<a name="l2822"><span class="ln">2822 </span></a>    // });
<a name="l2823"><span class="ln">2823 </span></a>
<a name="l2824"><span class="ln">2824 </span></a>
<a name="l2825"><span class="ln">2825 </span></a>    $(<span class="s8">'#sbbh_sel'</span>).change(<span class="s6">function </span>() {
<a name="l2826"><span class="ln">2826 </span></a>        <span class="s6">var </span>sel = document.getElementById(<span class="s8">&quot;sbbh_sel&quot;</span>)
<a name="l2827"><span class="ln">2827 </span></a>        <span class="s6">var </span>sbmc_sel_xg = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).text();
<a name="l2828"><span class="ln">2828 </span></a>        <span class="s6">var </span>sbmc_sel_val = $(<span class="s8">&quot;#sbbh_sel option:selected&quot;</span>).val();
<a name="l2829"><span class="ln">2829 </span></a>        <span class="s6">var </span>sbmc_sel_index = sel.selectedIndex + <span class="s9">1</span>
<a name="l2830"><span class="ln">2830 </span></a>        $(<span class="s8">'#ypdx_btn_1'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2831"><span class="ln">2831 </span></a>        $(<span class="s8">'#ypdx_btn_2'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2832"><span class="ln">2832 </span></a>        $(<span class="s8">'#ypdx_btn_3'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2833"><span class="ln">2833 </span></a>        $(<span class="s8">'#xsqcc_btn'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2834"><span class="ln">2834 </span></a>        $(<span class="s8">'#creat_sbbh_btn'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, sbbhsc)
<a name="l2835"><span class="ln">2835 </span></a>        <span class="s5">// sbmc_index</span>
<a name="l2836"><span class="ln">2836 </span></a>        // var sbmc_sel_xinz = $(&quot;#sbbh_sel option:selected&quot;).val();
<a name="l2837"><span class="ln">2837 </span></a>
<a name="l2838"><span class="ln">2838 </span></a>        $.confirm({
<a name="l2839"><span class="ln">2839 </span></a>            title: <span class="s8">'提示!'</span>,
<a name="l2840"><span class="ln">2840 </span></a>            content: <span class="s8">'您确定修改设备类型吗？确定请按确定(同时你添加的设备不是电脑或服务器，背景颜色是灰色的不用填写)，否则按取消'</span>,
<a name="l2841"><span class="ln">2841 </span></a>            buttons: {
<a name="l2842"><span class="ln">2842 </span></a>                confirm: {
<a name="l2843"><span class="ln">2843 </span></a>                    text: <span class="s8">'确定'</span>,
<a name="l2844"><span class="ln">2844 </span></a>                    btnClass: <span class="s8">'btn-blue'</span>,
<a name="l2845"><span class="ln">2845 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2846"><span class="ln">2846 </span></a>                        $(<span class="s8">&quot;#ypdx_id_1&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2847"><span class="ln">2847 </span></a>                        $(<span class="s8">&quot;#ypdx_id_2&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2848"><span class="ln">2848 </span></a>                        $(<span class="s8">&quot;#ypdx_id_3&quot;</span>).val(<span class="s8">&quot;&quot;</span>);
<a name="l2849"><span class="ln">2849 </span></a>                        $(<span class="s8">&quot;#sbbh_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2850"><span class="ln">2850 </span></a>                        $(<span class="s8">&quot;#sbmc_id&quot;</span>).val(sbmc_sel_xg)
<a name="l2851"><span class="ln">2851 </span></a>                        $(<span class="s8">&quot;#sbmc_option&quot;</span>).val(sbmc_sel_val)
<a name="l2852"><span class="ln">2852 </span></a>                        $(<span class="s8">&quot;#sbmc_index&quot;</span>).val(sbmc_sel_index)
<a name="l2853"><span class="ln">2853 </span></a>                        $(<span class="s8">&quot;#guige_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2854"><span class="ln">2854 </span></a>                        $(<span class="s8">&quot;#shccj_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2855"><span class="ln">2855 </span></a>                        $(<span class="s8">&quot;#gmrq_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2856"><span class="ln">2856 </span></a>                        $(<span class="s8">&quot;#bmid_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2857"><span class="ln">2857 </span></a>                        $(<span class="s8">&quot;#shiyr_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2858"><span class="ln">2858 </span></a>                        $(<span class="s8">'#zbxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2859"><span class="ln">2859 </span></a>                        $(<span class="s8">'#cpuxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2860"><span class="ln">2860 </span></a>                        $(<span class="s8">'#ncggdx_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2861"><span class="ln">2861 </span></a>                        $(<span class="s8">'#xkxh_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2862"><span class="ln">2862 </span></a>                        $(<span class="s8">'#ypdx_id_1'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2863"><span class="ln">2863 </span></a>                        $(<span class="s8">'#ypdx_id_2'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2864"><span class="ln">2864 </span></a>                        $(<span class="s8">'#ypdx_id_3'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2865"><span class="ln">2865 </span></a>                        $(<span class="s8">'#xsqppcc_id'</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2866"><span class="ln">2866 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac1&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2867"><span class="ln">2867 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac2&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2868"><span class="ln">2868 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac3&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2869"><span class="ln">2869 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac4&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2870"><span class="ln">2870 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac5&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2871"><span class="ln">2871 </span></a>                        $(<span class="s8">&quot;#macdz_id&gt;.mac6&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2872"><span class="ln">2872 </span></a>                        $(<span class="s8">&quot;#beiz_id&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2873"><span class="ln">2873 </span></a>                        $(<span class="s8">&quot;#ipdz_id&gt;.ip1&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2874"><span class="ln">2874 </span></a>                        $(<span class="s8">&quot;#ipdz_id&gt;.ip2&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2875"><span class="ln">2875 </span></a>                        $(<span class="s8">&quot;#ipdz_id&gt;.ip3&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2876"><span class="ln">2876 </span></a>                        $(<span class="s8">&quot;#ipdz_id&gt;.ip4&quot;</span>).val(<span class="s8">&quot;&quot;</span>)
<a name="l2877"><span class="ln">2877 </span></a>                        <span class="s6">if </span>(sbmc_sel_xg.indexOf(<span class="s8">&quot;电脑&quot;</span>) &lt; <span class="s9">0 </span>&amp;&amp; sbmc_sel_xg.indexOf(<span class="s8">&quot;务器&quot;</span>) &lt; <span class="s9">0</span>) {
<a name="l2878"><span class="ln">2878 </span></a>                            $(<span class="s8">&quot;#zbxh_id&quot;</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2879"><span class="ln">2879 </span></a>                            $(<span class="s8">&quot;#cpuxh_id&quot;</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2880"><span class="ln">2880 </span></a>                            $(<span class="s8">&quot;#ncggdx_id&quot;</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2881"><span class="ln">2881 </span></a>                            $(<span class="s8">&quot;#xkxh_id&quot;</span>).attr(<span class="s8">&quot;readonly&quot;</span>, <span class="s8">&quot;readonly&quot;</span>)
<a name="l2882"><span class="ln">2882 </span></a>                            $(<span class="s8">&quot;#xsqppcc_id&quot;</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2883"><span class="ln">2883 </span></a>                            $(<span class="s8">'#ipdz1'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2884"><span class="ln">2884 </span></a>                            $(<span class="s8">'#ipdz2'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2885"><span class="ln">2885 </span></a>                            $(<span class="s8">'#ipdz3'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2886"><span class="ln">2886 </span></a>                            $(<span class="s8">'#ipdz4'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2887"><span class="ln">2887 </span></a>                            $(<span class="s8">'.mac1'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2888"><span class="ln">2888 </span></a>                            $(<span class="s8">'.mac2'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2889"><span class="ln">2889 </span></a>                            $(<span class="s8">'.mac3'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2890"><span class="ln">2890 </span></a>                            $(<span class="s8">'.mac4'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2891"><span class="ln">2891 </span></a>                            $(<span class="s8">'.mac5'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2892"><span class="ln">2892 </span></a>                            $(<span class="s8">'.mac6'</span>).attr(<span class="s8">&quot;readOnly&quot;</span>, <span class="s8">&quot;readOnly&quot;</span>)
<a name="l2893"><span class="ln">2893 </span></a>                            document.getElementById(<span class="s8">'xsqppcc_id'</span>).style.backgroundColor = <span class="s8">&quot;#eeeeee&quot;</span>
<a name="l2894"><span class="ln">2894 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_1'</span>).style.backgroundColor = <span class="s8">&quot;#eeeeee&quot;</span>
<a name="l2895"><span class="ln">2895 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_2'</span>).style.backgroundColor = <span class="s8">&quot;#eeeeee&quot;</span>
<a name="l2896"><span class="ln">2896 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_3'</span>).style.backgroundColor = <span class="s8">&quot;#eeeeee&quot;</span>
<a name="l2897"><span class="ln">2897 </span></a>                            $(<span class="s8">'#ypdx_btn_1'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2898"><span class="ln">2898 </span></a>                            $(<span class="s8">'#ypdx_btn_2'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2899"><span class="ln">2899 </span></a>                            $(<span class="s8">'#ypdx_btn_3'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2900"><span class="ln">2900 </span></a>                            $(<span class="s8">'#xsqcc_btn'</span>).attr(<span class="s8">&quot;disabled&quot;</span>, <span class="s8">&quot;disabled&quot;</span>).unbind(<span class="s8">&quot;click&quot;</span>)
<a name="l2901"><span class="ln">2901 </span></a>                            $(<span class="s8">'#creat_sbbh_btn'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, sbbhsc)
<a name="l2902"><span class="ln">2902 </span></a>                        } <span class="s6">else </span>{
<a name="l2903"><span class="ln">2903 </span></a>                            $(<span class="s8">&quot;#zbxh_id&quot;</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2904"><span class="ln">2904 </span></a>                            $(<span class="s8">&quot;#cpuxh_id&quot;</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2905"><span class="ln">2905 </span></a>                            $(<span class="s8">&quot;#ncggdx_id&quot;</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2906"><span class="ln">2906 </span></a>                            $(<span class="s8">&quot;#xkxh_id&quot;</span>).removeAttr(<span class="s8">&quot;readonly&quot;</span>)
<a name="l2907"><span class="ln">2907 </span></a>                            $(<span class="s8">'#ipdz1'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2908"><span class="ln">2908 </span></a>                            $(<span class="s8">'#ipdz2'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2909"><span class="ln">2909 </span></a>                            $(<span class="s8">'#ipdz3'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2910"><span class="ln">2910 </span></a>                            $(<span class="s8">'#ipdz4'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2911"><span class="ln">2911 </span></a>                            $(<span class="s8">'.mac1'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2912"><span class="ln">2912 </span></a>                            $(<span class="s8">'.mac2'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2913"><span class="ln">2913 </span></a>                            $(<span class="s8">'.mac3'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2914"><span class="ln">2914 </span></a>                            $(<span class="s8">'.mac4'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2915"><span class="ln">2915 </span></a>                            $(<span class="s8">'.mac5'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2916"><span class="ln">2916 </span></a>                            $(<span class="s8">'.mac6'</span>).removeAttr(<span class="s8">&quot;readOnly&quot;</span>)
<a name="l2917"><span class="ln">2917 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_1'</span>).style.backgroundColor = <span class="s8">&quot;#ffffff&quot;</span>
<a name="l2918"><span class="ln">2918 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_2'</span>).style.backgroundColor = <span class="s8">&quot;#ffffff&quot;</span>
<a name="l2919"><span class="ln">2919 </span></a>                            document.getElementById(<span class="s8">'ypdx_id_3'</span>).style.backgroundColor = <span class="s8">&quot;#ffffff&quot;</span>
<a name="l2920"><span class="ln">2920 </span></a>                            document.getElementById(<span class="s8">'xsqppcc_id'</span>).style.backgroundColor = <span class="s8">&quot;#ffffff&quot;</span>
<a name="l2921"><span class="ln">2921 </span></a>                            $(<span class="s8">'#ypdx_btn_1'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, ypdx_1)
<a name="l2922"><span class="ln">2922 </span></a>                            $(<span class="s8">'#ypdx_btn_2'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, ypdx_2)
<a name="l2923"><span class="ln">2923 </span></a>                            $(<span class="s8">'#ypdx_btn_3'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, ypdx_3)
<a name="l2924"><span class="ln">2924 </span></a>                            $(<span class="s8">'#xsqcc_btn'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, xsqxx)
<a name="l2925"><span class="ln">2925 </span></a>                            $(<span class="s8">'#creat_sbbh_btn'</span>).removeAttr(<span class="s8">&quot;disabled&quot;</span>).bind(<span class="s8">&quot;click&quot;</span>, sbbhsc)
<a name="l2926"><span class="ln">2926 </span></a>                        }
<a name="l2927"><span class="ln">2927 </span></a>                    }
<a name="l2928"><span class="ln">2928 </span></a>                },
<a name="l2929"><span class="ln">2929 </span></a>                cancel: {
<a name="l2930"><span class="ln">2930 </span></a>                    text: <span class="s8">'取消'</span>,
<a name="l2931"><span class="ln">2931 </span></a>                    btnClass: <span class="s8">'btn-red'</span>,
<a name="l2932"><span class="ln">2932 </span></a>                    action: <span class="s6">function </span>() {
<a name="l2933"><span class="ln">2933 </span></a>                        <span class="s5">// console.log($(&quot;#sbbh_sel&quot;).val(sb));</span>
<a name="l2934"><span class="ln">2934 </span></a>                        // alert(sbhb_sel_index)
<a name="l2935"><span class="ln">2935 </span></a>                        // document.getElementById(&quot;sbbh_sel&quot;).options[sbhb_sel_index].selected = true;
<a name="l2936"><span class="ln">2936 </span></a>                        // var sbmc_xin = $(&quot;#sbmc_id&quot;).val()
<a name="l2937"><span class="ln">2937 </span></a>                        <span class="s6">var </span>sbmc_xin_option = $(<span class="s8">&quot;#sbmc_option&quot;</span>).val()
<a name="l2938"><span class="ln">2938 </span></a>                        <span class="s5">// var sbmc_sel_index = $(&quot;#sbmc_index&quot;).val()</span>
<a name="l2939"><span class="ln">2939 </span></a>                        // $(&quot;#sbbh_sel&quot;).prepend(&quot;&lt;option value='&quot; + sbmc_xin_option + &quot;' selected&gt;&quot; + sbmc_xin + &quot;&lt;/option&gt;&quot;);
<a name="l2940"><span class="ln">2940 </span></a>                        // $(&quot;#sbbh_sel option[text='&quot;+sbmc_xin+&quot;']&quot;).remove();  //删除Select中Text='4'的Option
<a name="l2941"><span class="ln">2941 </span></a>                        // $(&quot;#sbbh_sel option[index='0']&quot;).remove();
<a name="l2942"><span class="ln">2942 </span></a>                        // $(&quot;#sbbh_sel option[value='sbmc_xin']&quot;).remove();
<a name="l2943"><span class="ln">2943 </span></a>                        // $(&quot;#sbbh_sel option[index='0']&quot;).remove();
<a name="l2944"><span class="ln">2944 </span></a>                        // var sel = document.getElementById(&quot;sbbh_sel&quot;);
<a name="l2945"><span class="ln">2945 </span></a>                        // sel.options.remove(sel.options[0]);//删除第一个下拉框选项
<a name="l2946"><span class="ln">2946 </span></a>                        // 删除下标的option项
<a name="l2947"><span class="ln">2947 </span></a>                        // sel.options.remove(sbmc_sel_index)
<a name="l2948"><span class="ln">2948 </span></a>                        // alert(sel)
<a name="l2949"><span class="ln">2949 </span></a>                        // alert(sel.value)
<a name="l2950"><span class="ln">2950 </span></a>                        sel.value = sbmc_xin_option;
<a name="l2951"><span class="ln">2951 </span></a>                    },
<a name="l2952"><span class="ln">2952 </span></a>                }
<a name="l2953"><span class="ln">2953 </span></a>            }
<a name="l2954"><span class="ln">2954 </span></a>        });
<a name="l2955"><span class="ln">2955 </span></a>    })
<a name="l2956"><span class="ln">2956 </span></a>    <span class="s6">function </span>tjsb() {
<a name="l2957"><span class="ln">2957 </span></a>        <span class="s6">var </span>url=<span class="s8">&quot;/tianjia&quot;</span>
<a name="l2958"><span class="ln">2958 </span></a>        <span class="s6">if </span>(<span class="s9">/(iPhone|iPad|iPod|iOS|Android)/i</span>.test(navigator.userAgent)) { <span class="s5">//移动端</span>
<a name="l2959"><span class="ln">2959 </span></a>            window.location.href=<span class="s8">&quot;/tianjia&quot;</span>
<a name="l2960"><span class="ln">2960 </span></a>        }<span class="s6">else </span>{
<a name="l2961"><span class="ln">2961 </span></a>            gettjmtk()
<a name="l2962"><span class="ln">2962 </span></a>        }
<a name="l2963"><span class="ln">2963 </span></a>    }
<a name="l2964"><span class="ln">2964 </span></a>&lt;/<span class="s3">script</span>&gt;
<a name="l2965"><span class="ln">2965 </span></a>&lt;/<span class="s3">body</span>&gt;
<a name="l2966"><span class="ln">2966 </span></a>&lt;/<span class="s3">html</span>&gt;</pre>
</body>
</html>